468,247 Members | 1,453 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,247 developers. It's quick & easy.

sessions and domain names

Hi all. I've got an app that dumps a user id into a session after
successful login. the login page is http://www.mydomain.com/login.php.

If the user visits pages on my site without the www (i.e.,
http://mydomain.com/foo.php), the session works fine and login state is
maintained.

If he visits http://www.mydomain.com/foo.php, the app drops the
logged-in state.

Any idea how to fix this? I'm running php 4.4.1 w/ linux apache.

Oct 26 '06 #1
0 750

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Andy | last post: by
4 posts views Thread by FLEB | last post: by
10 posts views Thread by Mark H | last post: by
14 posts views Thread by Guy Hocking | last post: by
9 posts views Thread by strycat | last post: by
22 posts views Thread by magic_hat60622 | last post: by
7 posts views Thread by pek | last post: by
8 posts views Thread by Dave | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.