For sessions and cookies, is there a difference between example.com and www.example.com?
I have a very strange problem with our web application
The privat web is: private.example.com The public web is: example.com
For some reasons outside my control www.example.com is allways redirected to example.com I guess this is the setup on the server.
The problem is when I log in to the admin console, and open a new tab and requests the public site, the log in session is lost.
This only happens in IE 7
After some diging I found this site:
http://blogs.msdn.com/ieinternals/archive/2009/08/20/WinINET-IE-Cookie-Internals-FAQ.aspx
See Q3
Can it be that the session set in admin(private.example.com) is deleted when I access the public site? Since the server is redirecting me to example.com?
I think we do not specify the domain part when setting the cookie (Java)
As I said, this only happens with XP SP3 and IE7
Anyone who can help me, or correct my understanding of the IE stuff.