how long does $_SESSION last?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
how long does $_SESSION last?  on the client side, PHPSESSID, if it's
being transmitted via cookies, lasts as long as it was told to
(assuming it was told anything), but what about the server side?

Re: how long does $_SESSION last?

Quoted text here. Click to load it

 session.gc_maxlifetime seconds, then it's a candidate for being cleared up
with a probability of (session.gc_probability / session.gc_divisor) per
subsequent request that contains a session_start() (or implicitly via

Andy Hassall :: :: :: disk and FTP usage analysis tool

Site Timeline