colemanm
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Looking for a little advice on sessions/authentication
in PHP Coding Help
Posted
On a site I'm developing (sorta gettin' the hang of PHP still...), I've got a full user authentication method set up, but I'm looking for a way to have an idle session expire after X minutes. I then want to have it so on the next browser event (refresh, page load, etc), the user will be redirected to the login page, and after re-entering credentials, be redirected back where they were (i.e. their account page). This sounds like it shouldn't be to difficult, I was just looking to see what the easiest method would be.
Thanks,
- Coleman