A person logs in to http://www.my-site.com using his id and password.
Then he removes the www and opens the page as http://my-site.com
Now he needs to login again, as the cookie was set for www.my-site.com, while it should not be like this. I want that it works for both www.my-site.com and my-site.com when logged in once from either of these..
How can I solve this?.. Is there any conventional way to do this or ...?
Then he removes the www and opens the page as http://my-site.com
Now he needs to login again, as the cookie was set for www.my-site.com, while it should not be like this. I want that it works for both www.my-site.com and my-site.com when logged in once from either of these..
How can I solve this?.. Is there any conventional way to do this or ...?
Comment