Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - - 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
From: Williams
Newsgroups: sybase.public.powerbuilder.objects
Subject: Automatic logoff after being idle
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <>
Date: 3 Oct 2006 01:39:21 -0700
X-Trace: forums-1-dub 1159864761 (3 Oct 2006 01:39:21 -0700)
X-Original-Trace: 3 Oct 2006 01:39:21 -0700,
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9080
Article PK: 736268

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

emkopp Posted on 2006-10-03 13:56:38.0Z
From: "emkopp" <>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Automatic logoff after being idle
Date: 3 Oct 2006 06:56:38 -0700
Lines: 17
Message-ID: <>
References: <>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: 1159883802 25979 (3 Oct 2006 13:56:42 GMT)
NNTP-Posting-Date: Tue, 3 Oct 2006 13:56:42 +0000 (UTC)
In-Reply-To: <>
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)
Injection-Info:; posting-host=; posting-account=lkeO1A0AAABXHg7Xh1zRq4cGOTDzHSCc
Path: forums-1-dub!forums-master!!!!!!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;


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

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