Re: Sessions that last for ever
| From: | Jason Wong | Date: | Sun, 17 Feb 2002 03:49:08 +0000 |
| Subject: | Re: Sessions that last for ever | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85087@lists.php.net to get a copy of this message | ||
On Sunday 17 February 2002 04:10, Nigel Gilbert wrote:
> But very many commercial sites, including Apple and Amazon to name two,
> do exactly this. When you re-enter the site they 'remember' who you are
> using a cookie. In my case, I'm building a multi-player strategy game
> and while I want the players to go through an initial briefing the first
> time they ever join the game, thereafter they should be able to get
> straight into the game if they are still using the same PC. But as I
> said, the specifics of my use aren't so important - lots of sites leave
> permanent cookies around and the results don't seem to be catastrophic.
>
> The question is still: how to do it?
Try changing the value of "session.cookie_lifetime" in php.ini.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Have a taco.
-- P.S. Beagle
*/