First off, if anyone can recommend a good tutorial on creating a login process using cookies and sessions, feel free to help a kid out.
Secondly, I'm trying to figure out what the best approach is with using a cookie-session with a login process. I feel a bit silly trying to make this on my own as I've never done it, but hey--now is as good of a time as ever, right?
So to that end, I keep telling myself that I should check for the cookie before outputting any login form and if a cookie is found (with the appropriate data), then it will either let you in or force the auth on ya. After that, the session information would be injected into the cookie...? Is that close?
Anyway, if anyone could shine some general light on the general process, I would be appreciative.