NYCPHP Meetup

NYPHP.org

[nycphp-talk] Sessions and cross domains

Michele Waldman mmwaldman at nyc.rr.com
Sat Jan 10 19:37:20 EST 2009


Doh!  I think my call to clearauthenticationcache is killing the session.
Sorry guys.

 

  _____  

From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Michele Waldman
Sent: Saturday, January 10, 2009 6:53 PM
To: 'NYPHP Talk'
Subject: [nycphp-talk] Sessions and cross domains

 

I using http and https in an iframe.  I have session variables for both.
Http does not need to know about https and vice versa.

In IE, if I load http the session variable are fine.  If I load https, the
session variables are fine.

However, when I have a page with http and https, it's not fine.

The http loads, then the https loads.  After the https loads, http does not
know about it's session variables.  If I reload http section then the
variables are there.

It's like either http or https session variables can be accessed, but the
separate pages aren't able to access their separate sessions at the same
time.

I saw something when I was researching this problem about using
session.cookie_domain, but I couldn't get that to work for me.

Does anyone how you can have 2 different domains loaded and maintain session
variables for both domains in IE?

In firefox, I'm not having this problem.

Michele

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20090110/2f0c22a4/attachment.html>


More information about the talk mailing list