How do websites generally log users out and send them to the log in screen automatically when a user’s session expires? Is this done through ajax or running async handlers? Can you give me a bit of an explanation.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use a cookie as well as a session.
started.
session is gone, redirect to the
login screen.
do nothing
(pardon me if you can’t do that because I never used ASP and basing my answer on my PHP knowledge)