RE: [PHP] Dealing with session expiry
| From: | Duncan Hill | Date: | Sun, 19 Oct 2003 17:57:36 +0000 |
| Subject: | RE: [PHP] Dealing with session expiry | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166668@lists.php.net to get a copy of this message | ||
Radek Zajkowski said:
> I use it with skins on a web page, users coming in can pick a theme and for
> the duration of their visit they have the theme(it's an illustrator website)
>
> the problem that I having is that session expiry will cause that site to
> fall apart after idle time.
>
> I notice sites using login detect expiry automatically and refrest the pages
> + session, I just don't quite know how to apprach it.
Then set your session timeouts to be much higher. If, however, you want a
setting that will stay across browsers being closed, use a proper cookie, not
a session cookie.