MasterACE14 Posted October 21, 2007 Share Posted October 21, 2007 Afternoon PHP Freaks, Is their a way to set how long a session will last before expiring, without changing settings in the PHP config file, and is their a way to grab all the active sessions? Please show me example scripts Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/74154-expiring-sessions-and-grabbing-sessions/ Share on other sites More sharing options...
sKunKbad Posted October 21, 2007 Share Posted October 21, 2007 Setting the actual session cookie lifetime is easy, but I have no idea how to tell the server how long to hold on to cookie info that hasn't been unset. Good question. Quote Link to comment https://forums.phpfreaks.com/topic/74154-expiring-sessions-and-grabbing-sessions/#findComment-374531 Share on other sites More sharing options...
MasterACE14 Posted October 21, 2007 Author Share Posted October 21, 2007 bump Quote Link to comment https://forums.phpfreaks.com/topic/74154-expiring-sessions-and-grabbing-sessions/#findComment-374688 Share on other sites More sharing options...
MasterACE14 Posted October 23, 2007 Author Share Posted October 23, 2007 Setting the actual session cookie lifetime is easy, but I have no idea how to tell the server how long to hold on to cookie info that hasn't been unset. Good question. Sorry, Im talking about just plain sessions, not cookies Quote Link to comment https://forums.phpfreaks.com/topic/74154-expiring-sessions-and-grabbing-sessions/#findComment-375994 Share on other sites More sharing options...
PHP_PhREEEk Posted October 23, 2007 Share Posted October 23, 2007 Is this what you are searching for? http://www.phpfreaks.com/tutorials/77/0.php PhREEEk Quote Link to comment https://forums.phpfreaks.com/topic/74154-expiring-sessions-and-grabbing-sessions/#findComment-376072 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.