RE: [PHP] Session not time out if server has NO visit in 30 minut es?
| From: | Joss Shen | Date: | Sat, 18 Nov 2000 00:47:26 +0000 |
| Subject: | RE: [PHP] Session not time out if server has NO visit in 30 minut es? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25985@lists.php.net to get a copy of this message | ||
Hi,
I don't use MySQL (I use Oracle instead), but I certainly could learn
something from your code. Can you share that with me?
Thanks,
Joss
> -----Original Message-----
> From: Ignacio Vazquez-Abrams [SMTP:ignacio@openservices.net]
> Sent: Wednesday, November 15, 2000 9:17 PM
> To: Joss Shen
> Cc: Jason Murray; php-general@lists.php.net
> Subject: RE: [PHP] Session not time out if server has NO visit in 30
> minut es?
>
> 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>