Jump to content

Archived

This topic is now archived and is closed to further replies.

colemanm

Looking for a little advice on sessions/authentication

Recommended Posts

Hi,

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

Share this post


Link to post
Share on other sites
[!--quoteo(post=352898:date=Mar 8 2006, 12:04 PM:name=Coleman McCormick)--][div class=\'quotetop\']QUOTE(Coleman McCormick @ Mar 8 2006, 12:04 PM) [snapback]352898[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hi,

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
[/quote]

Here, check this out.. I think this does what you want : [a href=\"http://www.godshell.com/oss/secure-login.tar.gz\" target=\"_blank\"]Secure Login Code[/a]

Share this post


Link to post
Share on other sites

×

Important Information

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.