Afficher un message
Vieux 12/09/2007, 22h44   #2
Andy Hassall
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how long does $_SESSION last?

On Wed, 12 Sep 2007 21:40:05 -0000, yawnmoth <terra1024@yahoo.com> wrote:

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


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
session.auto_start).

http://uk3.php.net/session

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
  Réponse avec citation
 
Page generated in 0,04269 seconds with 9 queries