You are here: Re: how long does $_SESSION last? « PHP Programming Language « IT news, forums, messages
Re: how long does $_SESSION last?

Posted by Andy Hassall on 09/12/07 21:44

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 cookies, 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

 

Navigation:

[Reply to this 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

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