Connecting Tech Pros Worldwide Forums | Help | Site Map

Session timeout

stathis gotsis
Guest
 
Posts: n/a
#1: Jul 2 '06
Hello everyone,

I am implementing a site which will be used in an intranet by a limited
number of users. The web server i am using is WIN2003 / IIS 6.0 / PHP 5. I
want to enable sessions that will not timeout even after a long time (3-4
hours).

Having read some of the documentation i concluded that i should set
session.gc_maxlifetime and session.cookie_lifetime in my php.ini
appropriately, i.e. session.gc_maxlifetime=14400 and
session.cookie_lifetime=0. Am i right at this?

Furthermore, i am wondering if i should set IIS appropriately, does it
intervene with session data(sent session cookies)? I think that Apache does
not but i am not sure about IIS.

All advice welcome.



Alvaro G. Vicario
Guest
 
Posts: n/a
#2: Jul 2 '06

re: Session timeout


*** stathis gotsis escribió/wrote (Sun, 2 Jul 2006 02:50:03 +0300):
Quote:
Furthermore, i am wondering if i should set IIS appropriately, does it
intervene with session data(sent session cookies)? I think that Apache does
not but i am not sure about IIS.
The web server doesn't even know what sessions are. It merely receives HTTP
requests and pass the received parameters to the PHP script.

--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Closed Thread