Thread: PHP Session Help
-
March 11th, 2009, 01:16 AM #1
PHP Session Help
Hey guys,
I can't seem to get my PHP sessions to stay alive longer than 5 mins of inactivity.
I have set
session.gc_maxlifetime 86400
session.cookie_lifetime 86400
session.name FILEITHERE (i do this as test, still doens't work).
Any ideas ??
-
March 15th, 2009, 08:06 PM #2Member
- Join Date
- Aug 2008
- Posts
- 129
If you set gc_maxlifetime to 0 it stays open untill the browser is closed.
Try than and commenting out the cookie_lifetime just for debugging purposes.
-
March 16th, 2009, 04:09 AM #3
yeah i fixed this problem by changing the directory where the session is stored. Might have to run a cron to chefck that it does get deleted
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
php coding assistance with templete.php
By herbal_lavender in forum Webmastering and ProgrammingReplies: 2Last Post: December 29th, 2005, 09:35 AM -
Wardriving Session 1
By ClubMed in forum IMO CommunityReplies: 7Last Post: February 25th, 2004, 04:55 AM -
per session cookies?? wazzat??
By draboo in forum Networking and InternetReplies: 2Last Post: November 15th, 2003, 11:45 AM -
Terminal session to a dc
By muno in forum Applications and Operating SystemsReplies: 2Last Post: November 3rd, 2003, 02:53 AM -
ASP session help...
By dragonb in forum Webmastering and ProgrammingReplies: 2Last Post: September 21st, 2002, 02:37 PM



LinkBack URL
About LinkBacks




Reply With Quote

Two? Noob. I've got eleven, with two more coming in August, and another a little later. Call me Jaws.
I should probably buy a new...