Hi guys, web newbie here,
I'm sharing cookies between two sites of mine, myserver.com
and other.myserver.com
, by using in Django:
SESSION_COOKIE_DOMAIN = '.myserver.com'
This works in most cases, but when the first site is reached through an iframe like so:
<iframe src="https://myserver.com/page?data=asdsafaf"></iframe>
and redirects it to:
http://other.myserver.com/page2
The second site doesn't recognize the cookie created on the first site.
This happens in browsers: Firefox 3.6.8 on windows, IE 8 on windows and Safari 4.0.5 on Mac OS X
but works fine (the cookie is recognized) in these: Firefox 3.6.8 on Mac OS X and Google chrome 5.0.375.127 on windows
Any ideas?