note 20438 added to function.session-id
| From: | tdeliduka at no dot vcsites dot spam dot com | Date: | Wed, 03 Apr 2002 20:42:06 +0000 |
| Subject: | note 20438 added to function.session-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28567@lists.php.net to get a copy of this message | ||
This is useful if you're using a non-secure site and are moving to a secure site for a
transaction and that secure site has a different URL to be able to read the cookie.
I found that even passing the session name/id via the URL wasn't enough when moving from domain
to domain, after it was passed, I called session_id() to set the name of the session to bring
forward all the hard-work put into the non-secure portion of the sire.
--
http://www.php.net/manual/en/function.session-id.php
http://master.php.net/manage/user-notes.php?action=edit+20438
http://master.php.net/manage/user-notes.php?action=delete+20438
http://master.php.net/manage/user-notes.php?action=reject+20438