I have a login script that works, and i would like it to use cookies.
I want it so that when someone logs in, it sets a cookie saying that they have logged in.
I want this because i want it so that if someone goes to a page that needs you to be logged in, it checks to see if the cookie is there, if it is, then they continue to the page, but if the cookie isnt there, they go to the login page.