Assigning PHP Session ID's as cookie with a time set to it?
| From: | Smileyq | Date: | Thu, 06 Sep 2001 05:11:01 +0000 |
| Subject: | Assigning PHP Session ID's as cookie with a time set to it? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66151@lists.php.net to get a copy of this message | ||
Hello all,
While everything seems to be working fine in my pages I would really like to learn to how set up sessions id's a different way other than at the begining of each session. Right now it assigns a session ID per session with the cookie value of PHPSESSID. Is there a way I can set the value of the cookie to say ID or SID and give it a time for expiration so that I can authenticate against session id's and uses user preferences even when their browsers are closed. Any help would be greatly appreciated. Thanks guys..