Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Automatic logoff after being idle

2 posts in Objects Last posting was on 2006-10-03 13:56:38.0Z
Williams Posted on 2006-10-03 08:39:21.0Z
Sender: 7ce9.45221fca.1804289383@sybase.com
From: Williams
Newsgroups: sybase.public.powerbuilder.objects
Subject: Automatic logoff after being idle
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <452221b9.7d0a.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 3 Oct 2006 01:39:21 -0700
X-Trace: forums-1-dub 1159864761 10.22.241.41 (3 Oct 2006 01:39:21 -0700)
X-Original-Trace: 3 Oct 2006 01:39:21 -0700, 10.22.241.41
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9080
Article PK: 736268

Hi,
I like to logoff the application after being idle for
some time. How can i solve this. Thanks for any help.
-Williams


emkopp Posted on 2006-10-03 13:56:38.0Z
From: "emkopp" <ekopp@idoc.state.il.us>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Automatic logoff after being idle
Date: 3 Oct 2006 06:56:38 -0700
Organization: http://groups.google.com
Lines: 17
Message-ID: <1159883798.419778.257380@i42g2000cwa.googlegroups.com>
References: <452221b9.7d0a.1681692777@sybase.com>
NNTP-Posting-Host: 163.191.86.3
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1159883802 25979 127.0.0.1 (3 Oct 2006 13:56:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 3 Oct 2006 13:56:42 +0000 (UTC)
In-Reply-To: <452221b9.7d0a.1681692777@sybase.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Crazy Browser 2.0.1),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 CONUTIL4
Complaints-To: groups-abuse@google.com
Injection-Info: i42g2000cwa.googlegroups.com; posting-host=163.191.86.3; posting-account=lkeO1A0AAABXHg7Xh1zRq4cGOTDzHSCc
Path: forums-1-dub!forums-master!newswest.sybase.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!i42g2000cwa.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9083
Article PK: 736270

I would put some script to close out my application in the idle event
of the application object.

Then you call this in the open, post open, or some early event in the
program by using;

idle(X)

where x is the amount of time that you would like you idle check to be
at.

Williams wrote:
> Hi,
> I like to logoff the application after being idle for
> some time. How can i solve this. Thanks for any help.
> -Williams