0

I have a ASP.Net MVC Application using SimpleMembership and I want to create a SetInterval function that checks if the user ASP.Net session is still active from the Javascript and if not redirect them to another page.

Thanks for any help

5
  • What is the question? Can you show us your existing attempt at the Javascript? Commented Sep 15, 2017 at 10:56
  • How do I check using javascript if a Users session in an ASP.Net application is active or expired? I've looked at some other example and they seem to user PHP to do this, I wanted to know how to write something (if its possible) to see if the session is expired. I don't have any Javascript at the moment to do this Commented Sep 15, 2017 at 11:02
  • possible duplication stackoverflow.com/questions/25433042/… Commented Sep 15, 2017 at 11:12
  • @DanNguyen yes thats pretty much exactly what I was looking, thanks very much. I really need to get better at searching Commented Sep 15, 2017 at 11:24
  • With help from @DanNguyen the answer can be found here Commented Sep 15, 2017 at 12:48

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.