2

How to implement the session timeout in angular js?

My requirement is session timeout.. while session expired it will prompt a message as "session expire. do you want to continue? with yes or no option.." if yes, same session will continue. If no, to get an message as "the session has expired. Please close the window."

2
  • this might help u stackoverflow.com/questions/14957450/… Commented Sep 23, 2016 at 6:39
  • can you please post your progress so far. SO is not really a "please write some code for me " platform Commented Sep 23, 2016 at 6:40

1 Answer 1

0

You can have a function that is executed after interval. That way you can check if user is logged in or not. Execute that function when your user lands on your site to check of the timeout.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.