When a user enters my site, I write out an ID for that hit to a session variable...my session IDs are kept in cookies.
Everything works well for what Im trying to do...until the user moves to the secure portion of my site. As soon as he or she does that, the session cookie in which I keep the ID is invalidated, and I lose the cookie. The secure domain is simply "secure.mydomain.com".
I could store the session ID in the URL, but there are other problems working against that; Id rather keep it in a cookie.
So how can I keep the cookie (and the user session) across two domains?
Thanks for your help; I really appreciate it.
-Starwiz
Everything works well for what Im trying to do...until the user moves to the secure portion of my site. As soon as he or she does that, the session cookie in which I keep the ID is invalidated, and I lose the cookie. The secure domain is simply "secure.mydomain.com".
I could store the session ID in the URL, but there are other problems working against that; Id rather keep it in a cookie.
So how can I keep the cookie (and the user session) across two domains?
Thanks for your help; I really appreciate it.
-Starwiz