Sessions across subdomains

------=_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.
<https://secure.mydomain.com> ?



Thanks in advance,

Ben


------=_NextPart_000_00D8_01CAA0D6.B2D5C500--
Ben Miller [ Fr, 29 Januar 2010 19:32 ] [ ID #2030541 ]
PHP » gmane.comp.php.general » Sessions across subdomains

Vorheriges Thema: imap4 search criteria
Nächstes Thema: Do you use a public framework or roll your own?