jpotter Posted January 23, 2009 Share Posted January 23, 2009 I need to check and see if a user's session is still alive or not without using session_start because I don't want the check to keep the session alive. Is there any way to check the status without doing a session_start thus keeping the session alive? I'm trying to check the status of the session and automatically take someone back to the login when their session ends without having to wait for them to try and do something else. Link to comment https://forums.phpfreaks.com/topic/142156-how-to-check-the-status-of-a-session-without-using-session_start/ Share on other sites More sharing options...
rubing Posted January 23, 2009 Share Posted January 23, 2009 I would check to see if the session id is set using the get session id function http://us3.php.net/session_id Link to comment https://forums.phpfreaks.com/topic/142156-how-to-check-the-status-of-a-session-without-using-session_start/#findComment-744688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.