Re: PHP SESSION DURATION.....

From: Date: Tue, 25 Nov 2003 16:44:58 +0000
Subject: Re: PHP SESSION DURATION.....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170902@lists.php.net to get a copy of this message
Correction: I meant to say: Are session variables stored server-side or client-side like cookies? "Keith" <1kat@freeuk.com> wrote in message news:20031125161205.17825.qmail@pb1.pair.com... > Hi, > How do I go about making a session last longer that the duration of the > browser? > Say I wanted to make a session last for 1 month, so that I could close the > browser as often I wanted, and the session would still be there. I found the > explanations of the session function on PHP.net quite confusing. Grrrr... > Oh for good documentation!!! > > Should I use session_cache_expire? Well, php.net says: The cache expire is > reset to the default value of 180 stored in session.cache_limiter at request > startup time. > What about session_set_cookie_params? But php.net says the effect of this > function only lasts for the duration of the script? > > Are session variables stored server-side or does that apply to cookies only? > And what about session cookies? Are session cookies stored with the client? > > Please help > > Many thanks > Keith

« previous php.general (#170902) next »