Citizen
03-31-2010, 11:01 AM
Don't worry, accessing a certain link is not logging you out.
First, lets talk about how cookies work, and how cookies work with Social Engine (and logging in for most sites).
Cookies are what is saved to keep you logged in after you exit a site. For SE, cookies and sessions are used to log you in. Cookies are specified for a particular range, and that range only.
For instance, if you log into a site and the cookie saves you as http://www.yourdomain.com (http://www.yourdomain.com/), you will NOT be logged in for http://yourdomain.com (http://yourdomain.com/). The difference is the www.
This is not a bug, its how cookies work. For most sites, http://www (http://www/). and http:// point to the same content, so its easy to think that you've been logged out.
To prevent running into this, it is best to be consistant on whether to use http://www. or just http://
Additionally, you can set up your .htaccess to redirect one to the other and avoid it all together.
If you need help with this, contact your host. Any good host should help you set up what ever you need to prevent this from happening.
First, lets talk about how cookies work, and how cookies work with Social Engine (and logging in for most sites).
Cookies are what is saved to keep you logged in after you exit a site. For SE, cookies and sessions are used to log you in. Cookies are specified for a particular range, and that range only.
For instance, if you log into a site and the cookie saves you as http://www.yourdomain.com (http://www.yourdomain.com/), you will NOT be logged in for http://yourdomain.com (http://yourdomain.com/). The difference is the www.
This is not a bug, its how cookies work. For most sites, http://www (http://www/). and http:// point to the same content, so its easy to think that you've been logged out.
To prevent running into this, it is best to be consistant on whether to use http://www. or just http://
Additionally, you can set up your .htaccess to redirect one to the other and avoid it all together.
If you need help with this, contact your host. Any good host should help you set up what ever you need to prevent this from happening.