Jump to content

Login duration...


csimmons

Recommended Posts

Hey, I am currently developing a forum-like application using WAMP. As of right now I have a script that asks for username and password, connects to the database, checks for username and password, and then portrays a login success page. I was wondering if anyone could push me the right direction to keep me logged in until I don't need to be anymore.

Link to comment
https://forums.phpfreaks.com/topic/103284-login-duration/
Share on other sites

Sessions would work for tracking while you are logged in but typically if you close that window then you'll lose your session. I think you should look into cookies, if you would like to stay logged in longer than what a session can provide. You won't be getting rid of sessions but using it combination with cookies.

Link to comment
https://forums.phpfreaks.com/topic/103284-login-duration/#findComment-528976
Share on other sites

Archived

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

×
×
  • Create New...

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.