Sessions and cookies to log into a website
Does anyone know any good tutorials or examples on using cookies to store session ids.
i want to store username and password in a session and want to store the session id in a cookie and when a user comes back to the site i want the website to remember the session.
At the moment i am only using sessions and when i close the browser i have to re enter my user name and password to gain access to the site.
Any ideas on how to do this?