Re: SESSION ISSUES

From: Date: Sun, 08 Jun 2003 09:02:23 +0000
Subject: Re: SESSION ISSUES
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150658@lists.php.net to get a copy of this message
http://us2.php.net/manual/en/function.session-set-cookie-params.php set the domain strictly to "test.com" not "subdomain.test.com" etc etc -- Jason k Larson Dale wrote:
HELP? I AM ABOUT TO PULL MY HAIR OUT? I have already spent time reading over the online php manual and I still can't figure a way around this issue. I notice that when I start a session and I create session variables, those variables are attached to the specific domain. For example: both of the urls point to the same place: http://www.test.com/start.php http://ww2.test.com/start.php I have noticed however that if you create a session variable in the following file http://www.test.com/start.php and try to access from a file http://www2.test.com/access.php the variable will not exist. The reason I am asking all these questions is that in my code I need the ability to do a re-direct to a secure site such as https://secure.test.com but still maintain all of the session variables and keep the same session open. Any ideas? Thanks, Dale


« previous php.general (#150658) next »