passing session across URLs
Posted: Thu Aug 21, 2003 4:01 pm
My company has both MYDOMAIN.com and MYDOMAIN.net applied to an IP where I'm building an app. Only MYDOMAIN.net is secure and I've been able to pass the session ID from http://MYDOMAIN.net to https://MYDOMAIN.net without losing the session, but if someone comes through from http://MYDOMAIN.com and needs to access a secure page, the session is killed and a new one is started.
Is it possible to pass a sessionID from a .com to a .net through either POST or GET? I know that if I set ini_set("session.cookie_domain",".MYDOMAIN.net"); I can use multiple subdomains, but is there a way to allow different hostname extensions?
If possible, I'd also like to be able to share the same session between the IP address and the other extensions. Can anybody set me straight?
Is it possible to pass a sessionID from a .com to a .net through either POST or GET? I know that if I set ini_set("session.cookie_domain",".MYDOMAIN.net"); I can use multiple subdomains, but is there a way to allow different hostname extensions?
If possible, I'd also like to be able to share the same session between the IP address and the other extensions. Can anybody set me straight?