Posted by Dave Smithz on 07/11/05 11:33
"chotiwallah" <chotiwallah@web.de> wrote in message
news:1121066010.990486.78220@o13g2000cwo.googlegroups.com...
> session.cookie_lifetime = 0 means the cookie will be deleted as soon as
> the browser is closed, which logs the user out.
>
> set it to another value (in sec's, using ini_set()) to keep the user
> logged in longer. but note that this is not sure fire because what the
> users do with your cookie is up to them.
Yes you are right there of course, but in this instance users are being
logged out when they have not closed the browser. In fact they expect that
if they close the browser they will be logged out which is better behaviour.
I need to prevent the time out occurring on a windows which they have kept
open (note this window does use frames if this makes a difference).
Kind regards
Dave
Navigation:
[Reply to this message]
|