[PHP] Re: Making session last

2001-09-25 Thread Geir Eivind Mork
Martin wrote: The sessions-functions works really fine. But I got one Problem: How can I make the php-session last more then a browser-session? When the users Now it isn't a 'session' for nothing, for your use I guess cookies and storage of state in database is a much better thing. to make

[PHP] Re: Making session last

2001-09-23 Thread Richard Lynch
Your change to the setting would have to happen *before* the session_start() and if php.ini is set to always do sessions, you can't get in before that. You may be able to use http://php.net/setcookie to provide a time-limit for the session id cookie so that it won't expire when the browser