Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6956721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:54:23+00:00 2026-05-27T14:54:23+00:00

We have an windows Azure web role (typically ASP.NET application) with client side J-queries

  • 0

We have an windows Azure web role (typically ASP.NET application) with client side J-queries that handles the UI operations. We need to timeout the session if it is not used for 20 minutes and redirect to Login page after that.

Now the problem is

there are very few pages with aspx.cs code behind code written. We have called the Session expire script there. Most of the request goes to handler classes from Jquery. Because of this the client side activities are not being considered for extending session time out and after 20 minutes of the page load (where we have injected session expire scripts), it gets timed out and redirects to Login. This is not a good end user experience and we would like to resolve this. How can we extend the session time out during client side code execution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:54:24+00:00Added an answer on May 27, 2026 at 2:54 pm

    If most of the requests are going to handlers, and not to regular pages, I think you can solve your issue with requiring a Session for the Handlers (check this question for how to enable Session State for handlers).

    You just need to do that in order to fire the session state to be refreshed on every handler request, so it won’t expire. A regular handler would not trigger the session engine, so it counts as inactivity of user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I'm trying to port a web application(ASP.NET MVC) to windows azure and have
I have deployed an ASP.NET web application to Azure running in a web role.
We have a Web Role that we are hosting in Windows Azure that uses
I'm running a Windows Azure web application (ASP.Net MVC). How do I measure the
I have a WCF service that's deployed as a Windows Azure Web Role. I'm
I have a windows azure Webrole application using Silverlight on top of WCF+ASP.NET. I
My Asp.net application is hosted over Azure Cloud, In that application I do have
I have a Web application which will be deployed to Windows Azure and I'm
I have a Windows Azure application in which all read queries of TableA are
I have a relatively low bandwidth Azure Web Role application and also several processes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.