title: Redirect to either login page or lock page on session time
body: <p>Thank you in advance for any one who comes in to my rescue</p>
  
  <p>Case:</p>
  
  <p>I have a login page that users for my system use to login, after loginnng in, they are entitled to an idle moment for about 10 minutes, after that they are redirected to the login page again to enter their details. </p>
  
  <p>Needed:</p>
  
  <p>Am trying to implement a redirect to the other page which is the lock page where the user will only enter password without entering his username but this is really giving me headache because when the session is destroyed, the user's credentials are all cleared hence requiring him/her to enter both the username and password. Is there any way i can store the user's username when the session is timed out so that its echoed in a hidden field on the lock screen. </p>
  
  <p>Am trying to implement this with php</p>