sniped22 Posted August 31, 2007 Share Posted August 31, 2007 on my page (status.php) there is information from a session. How can I tell once the session has expired? I want to redirect to login.php once the session expires. thanks Link to comment https://forums.phpfreaks.com/topic/67400-expired-session/ Share on other sites More sharing options...
Fadion Posted August 31, 2007 Share Posted August 31, 2007 session_start(); if(!isset($_SESSION['status'])){ header('Location: login.php'); } Link to comment https://forums.phpfreaks.com/topic/67400-expired-session/#findComment-338369 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.