0

we are using a jquery tree in our asp.net mvc application and have forms authentication configured. A session timeout for 10 minutes is configured. The problem is if the user keeps interacting with the tree for more than 10 minutes the session times out when a request goes to the server.

Kind of critical issue since the user was interacting with the application and got logged out.

What could be a good solution to this issue?

2
  • How about timely, Session Keep alive pings to server... Commented Apr 27, 2011 at 22:17
  • Use a client-side timer whose value is submitted on a server request - have it reset with client-side actions. Commented Apr 27, 2011 at 22:21

1 Answer 1

1
  1. Extend the session timeout setting in IIS (maybe set it to 20 or 30 minutes to give the user enough time)

  2. Use some periodical AJAX calls from the client side that just tell your server the user is still active.

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.