RE: [PHP] Session not time out if server has NO visit in 30 minut es?

From: Date: Thu, 16 Nov 2000 04:55:31 +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-25600@lists.php.net to get a copy of this message
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 > -----Original Message----- > From: Jason Murray [SMTP:Jason.Murray@melbourneit.com.au] > Sent: Wednesday, November 15, 2000 8:14 PM > To: 'Joss Shen'; Ignacio Vazquez-Abrams > Cc: php-general@lists.php.net > Subject: RE: [PHP] Session not time out if server has NO visit in 30 > minut es? > > > But the funny thing I found out is, by changing > > > > session.cookie_lifetime = 0 > > > > to > > > > session.cookie_lifetime = 1200 > > > > Netscape Navigator browser works - it accepts the cookie, but > > in IE, seems it did not get any cookie. > > > > But if I change it back to 0, IE could work, just don't timeout in 30 > > minutes. > > Make it even bigger, like 2 hours. MSIE seems to have issues with daylight > saving(!) for some reason. :\ (I had to set a client's site to 2 hrs > instead > of 30 mins) > > Jason > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#25600) next »