I've used sessions quite a bit, but I have never used cookies that are on the users computer.
In this project I am working on I need to have the user enter username and password and then if it's correct set a cookie on their computer that allows them to open new browser windows without having to re- enter the password. This isn't possible with sessions because when the browser is closed then the session ends.
Bascially, I just need to know how to write a cookie to the users computer and then check to see if that cookie excists before allowing access to certain pages.
Any info is appreciated. Thanks!😃