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 6750279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:47:21+00:00 2026-05-26T12:47:21+00:00

I have a meta refresh that redirects to a page when the application times

  • 0

I have a meta refresh that redirects to a page when the application times out.

<meta http-equiv="refresh" content="1200;url=/SessionExpired.aspx">

But when a user is interacting with that page, the redirect will obviously fire regardless of whether the user has been working interactively via AJAX postbacks.

How can I reset the meta refresh countdown whenever the user is perceived to be continuing an interaction with the page? (via an AJAX postback, for example).

I’m working with ASP.NET Web Forms using UpdatePanel to AJAXify my page.

Thanks,

Richard

  • 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-26T12:47:22+00:00Added an answer on May 26, 2026 at 12:47 pm

    A more user friendly method (imho) is to use a javascript timer on the page. When the timer is up tell the user they have timed out.
    Meanwhile, upon every ajax request reset the timer.
    See the code to hook into the ajax call here:
    Intercept ajax requests with jquery to display BlockUI

    Sys.WebForms.PageRequestManager.instance.add_beginRequest(beginRequestHandler)
    
    Sys.WebForms.PageRequestManager.instance.add_endRequest(endRequestHandler)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page using something along the lines of <meta http-equiv=refresh content=0;url=http://example.com/ />
echo '<meta http-equiv=refresh content=0;url=javascript:history.go(-1)>'; Here is what I have at the end of a
If i would have such script on website <noscript> <meta http-equiv=refresh content=0; URL=/Noscript> </noscript>
I have a web page that is using the following META tag: <META HTTP-EQUIV=refresh
I would like this: <NOSCRIPT> <META HTTP-EQUIV=refresh CONTENT=1; URL=js/nonJs.htm> </NOSCRIPT> to be the first
I have a system that uses a meta refresh to a logout page, which
I have a statistics page which has a meta refresh tag on it. <meta
I have a page that displays all its content in a TabContainer, but if
I am currently using the meta http-equiv='Refresh' to automatic start PDF downloads. however this
I have seen some websites use the following tag: <meta type=title content=Title of the

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.