RE: [PHP] Session not time out if server has NO visit in 30 minut es?
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 16 Nov 2000 05:16:55 +0000 |
| Subject: | RE: [PHP] Session not time out if server has NO visit in 30 minut es? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25604@lists.php.net to get a copy of this message | ||
On Wed, 15 Nov 2000, Joss Shen wrote:
> Actually I found IE does not translate timezone. My server is in PST(-8).
> But my PC (browser) is in GMT. It's correct in Netscape, but not in IE. Is
> this Microsoft IE's problem?
>
> Is there a way to work around of it? Actually this brings a good question,
> how about if the server time is not accurate? I think set cookie time is not
> a good way to maintain the 30 minutes timeout.
>
> Is there any other mechanism in PHP or Apache to expire a session which does
> not have activities for 30 minutes, without involving client side cookie?
>
> Thanks again.
> -Joss
>
Well, if you have a MySQL server handy, I have a small class that I've
written that I use for sessions. With a little tinkering it could be just
what you're looking for.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>