Re: Idletime?

Arnaud Limbourg <arnaud-GdXxm9JVFPlWk0Htik3J/[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Jan Bolmeson wrote:

>Could somebody please explain how the idle-time does work and describe its
>relation to sessions? 
>
> 
>
>Thanks (as always),
>
>//jan
>
> 
>
>P.S. I have made a script that uses javascript xmlhttp to extend the
>expiretime e.g. 10 minutes before logout if somebody is interested. =o) D.S.
>  
>
Hi,

If I am not mistaken:
Expire time: the session will expire after that time no matter what
Idle time: an automatic logout occurs after the specified amount of time 
without user activity.

Every time a user does an action the idle time gets updated so there is 
a "last time there was activity", LU then checks if the user has idled 
and if not updates that counter.

Expire time starts running upon first login and when time is up ...  
user is logged out.

Arnaud.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.