Posted by wombat on 01/21/07 01:39
I have a problem with a page that allows you to log into my site. The
site is in a subdomain. However, to eliminate some of the problems I've
had I link everything through http://www.***.com/home/index.php instead
of using http://home.***.com/index.php.
The problem I'm now encountering is this:
The sessions appear to be dependent on the url. Testing the code on the
first version (http://www.***.com/home) works and I can log in. While
I'm logged in by accident I entered the site through the domain. Same
page but the url is (http://home.***.com) - the session is gone.
However, it still exists if I enter without the subdomain.
Again, the code works..... it just appears to me that a session is
depending on the url being the same.
Are sessions url dependent? If so, is there a work-around?
Thanks.
[Back to original message]
|