ini_set for Session maxlifetime
Posted: Thu Nov 16, 2006 10:03 am
I want to increase the life of a session, so on my initial start, prior to the session_start(), I'm looking to add the following code:
My question is, if I have multiple pages that do session_start(), do I have to put that ini_set on each of those pages, or just the initial registration of the session?
Code: Select all
ini_set("session.gc_maxlifetime","14400");