Sessions across subdomains

Sessions across subdomains

am 29.01.2010 19:32:09 von Ben Miller

------=_NextPart_000_00D8_01CAA0D6.B2D5C500
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi, I've always thought that session data was subdomain specific and would
not carry over between http://www.mydomain.com and
https://secure.mydomain.com, but it seems to be working for me now. Can I
rely on this and post from http://www.mydomain.com to
https://secure.mydomain.com and simply pass a hidden input containing
PHPSESSID, or do I need to pass each key=>value pair that _SESSION contains
at www. and reset them as _SESSION vars at secure.
?



Thanks in advance,

Ben


------=_NextPart_000_00D8_01CAA0D6.B2D5C500--