Only today found out that the two are not the same site and infact copies of eachother.
The error i am currently having is i am setting on login sessions in the normal way:
$_SESSION['logged'] = 1;
This session can be received and works on
domain.com
But doesnt work when the user navigates to any:
www.domain.com
How should i handle this? I like to use absolute links for my navigation e.g:
http://www.domain.com/about
But this causes the issue of users not using www. all the time etc.
Is there a way to allow cookies to be set on both www. and non www or is there a better way of handling this? Possibly a htaccess type redirect to the non www. page everytime?
Thanks for any insight. Craig.