henrysommer
03-07-2008, 01:49 PM
Whenever I type in http://www.mydomain.com/forum, it sends me to http://mydomain.com/forum.
I'm trying to write some PHP that checks if a user is logged in, but of course it doesn't track it properly when I change subdomains like that.
So as I go back to my file I'm going to http://www.mydomain.com/logged_in.php, and the cookies were set for http://mydomain.com.
Checked everything in the admin cp, it has the leading www in front of it.
Any suggestions on how to fix this subdomain/redirecting issue?
I'm trying to write some PHP that checks if a user is logged in, but of course it doesn't track it properly when I change subdomains like that.
So as I go back to my file I'm going to http://www.mydomain.com/logged_in.php, and the cookies were set for http://mydomain.com.
Checked everything in the admin cp, it has the leading www in front of it.
Any suggestions on how to fix this subdomain/redirecting issue?