Re: Custom Session usind MySQL

From: Date: Wed, 19 Nov 2003 03:41:28 +0000
Subject: Re: Custom Session usind MySQL
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-170237@lists.php.net to get a copy of this message
Manisha Sathe wrote:
yes, website is on same machine, but if there is to and fro from 2 websites, then for both ways i need to pass it ? what will happen to session time limit ? if i go website1 then go to another website2 then after 30 mins i come back to website1 (session timeout 30mins) then what will happen ? Any sample code would be appreciated.
Nothing will happen as you'll be using the same session file so it will not be cleaned up. What don't you try reading the page for session_set_save_handler() and start from there... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#170237) next »