Reply to Session timeout

Your name:

Reply:


Posted by stathis gotsis on 07/01/06 23:50

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация