If I login through website.com and then type http://www.website.com, it doesn’t show that I am login in and I have to do that again. What’s the problem?
If I login through website.com and then type www.website.com, it doesn’t show that I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is normal. Session cookies apply to the exact domain they were issued by default.
www.website.comis a different domain fromwebsite.com.You can expand the scope of the cookie to sub-domains, but the much better way is to actually have only either
www.website.comorwebsite.com, and to redirect one to the other.For redirecting
wwwto non-www, see