title: PHP Session Expire Redirect
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1003001/automatically-re-direct-a-user-when-session-times-out-or-goes-idle">Automatically re-direct a user when session Times out or goes idle&hellip;</a>  </p>
  </blockquote>
  
  <p>I have a Log In system and the session expires, but they need to refresh the page to be shown the login in screen again. Instead, my users enter data and hit submit to find out that they have been logged out.</p>
  
  <p>Is there any way to make the page automatically redirect to the log-in page once the session has expired?</p>
  
  <p>Thanks!</p>
  
  <p><strong>EDIT:::</strong> </p>
  
  <p>From reviewing the previously asked question found <a href="https://stackoverflow.com/questions/1003001/automatically-re-direct-a-user-when-session-times-out-or-goes-idle">Here</a> I have used the accepted answer for this application. Thank you all for your suggestions.</p>