Session's across Domains...
| From: | Tony Di Croce | Date: | Wed, 09 Nov 2005 00:50:56 +0000 |
| Subject: | Session's across Domains... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-225348@lists.php.net to get a copy of this message | ||
I have a server with a few virtual hosts. All of my scripts use
"session_start()", and $_SESSION[] to share data between invocations of
different scripts.
The problem I'm having is that if a form on site A submits to a script on
site B the values stashed in $_SESSION[] appear to be lost...
Should this work? If not, then what alternatives exist? I suppose I could
pass the session id as a POST argument to the site B script (and theirs
probably a method in PHP that given a session_id() makes available all of
that sessions $_SESSION[] variables) but is that the best way?
td
--
for only the most hard core geekstas...
http://geekstasparadise.blogspot.com