Im building a membership system which currently uses sessions. With sessions when the user closes the browser the sessions are no longer available therefore they are logged out...
But Ive read that there is a way so that when a user logs in and the session is set a cookie is also set which contains that sessions id. Then if the user closes the browser and visits the page again the cookie session id is pulled and then it checks to see if there is a session with the same id on the server - if there is they are still logged in - if not then they are not logged in...
How is this done?
Thanks
Comments
Webmaster-Talk.com
Chroder.com
I just read through it though and not all of it made sense
Would you be able to explain, maybe with an example how its used?
Thanks
The Royal Ram