473,666 Members | 2,575 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to refresh web page so it does not timeout after 20 mins with no activity

We have a web report that times out after 20 minutes if there has been
no activity on the report. The timeout is set at the application
level and I am unable to get this adjusted. I would like to refresh
the current screen after 15 minutes if there has been no activity by
the user on the web report. Can someone provide me any ideas on how
to write the javascript to determine if there has been 15 minutes
without any activity.
Thanks.
Sandy
Jul 23 '05 #1
1 2400
Sandy wrote:
We have a web report that times out after 20 minutes if there has been
no activity on the report. The timeout is set at the application
level and I am unable to get this adjusted. I would like to refresh
the current screen after 15 minutes if there has been no activity by
the user on the web report. Can someone provide me any ideas on how
to write the javascript to determine if there has been 15 minutes
without any activity.
Thanks.
Sandy


I'm not sure what you mean by "no activity". But what's wrong with:

<meta http-equiv="refresh" content="900; URL="thispage.a sp">

(note: may not work in user agents where meta refresh can be disabled)

--
Grant Wagner <gw*****@agrico reunited.com>
comp.lang.javas cript FAQ - http://jibbering.com/faq

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1955
by: Bilal | last post by:
Hi, I'm a complete beginner in Javascript and php ... so forgive me for asking an easy/simple solution to the following problem: I'm developing an application that involves multi-screen in different windows. One of my windows involves an automatic refresh every 99 sec. The problem is that the window is coming into focus each time the refresh occurs. How can I prevent this from happening? Thank you in advance for any suggestions....
11
29562
by: Tom Post | last post by:
I am doing a simple php header refresh -- header('refresh: 10; url=msgs.php'); that just does a call back to my script every 10 seconds. Things work great when the page is first loaded up, but if the end user hits F5 or the refresh button, then the page stops refreshing indefinately. Any ideas how to make it so that the page perpetually refreshes regardless of what the end user presses?
2
2217
by: Rob Nicholson | last post by:
How does setTimeout work? If the user moves the mouse or types some text into a form, does it reset the timer? Or does it start running when first triggered and simply timeout after that amount of time? For example, if the timeout is set to 5 minutes and after 4.5 mins, the user moves the mouse over the screen, does the timer reset to 5 mins or will it still timeout after another 30 seconds? Cheers, Rob.
0
1209
by: veenakj | last post by:
Hello, We have a workflow which has around 20 steps. We have UI which is designed in such a way that when we click RUN WORKFLOW button, we go to a page with all the 20 steps like below Step desc Status Step1: Export selected Employees Completed. Step2: Import all data Processing. Step3: Import some data Not started.
1
311
by: Florian Zimmermann | last post by:
Hi everyone, we have configured our IIS and the specific website to use 60 mins for session timeout. Additionally we configured the web.config so that timeout in the sessionState section is set to 60 as well. Regardless of this settings, the session gets abandoned after about 30 mins. Are there any other places that can impact the timeout (We do not call something like Session.Abandon() from within our sites)? The strange thing is it...
1
2228
by: RUSSELL MCGINNIS | last post by:
I have a web site that uses Form Authentication with the Session timeout set to 20 minutes, however one of the pages refreshes itself every 30 seconds. Is there a way to override the session behaviour of resetting the timeout everytime that page refreshes, so that if the user sits on that page without activity for more than 20 minutes, the site still times out? I am not looking to implement any page specific javascript solution, rather...
3
1777
by: Funky | last post by:
Hi, I have developed an ASP.NET application which has been running in production for around 3 months without any major glitches. Recently, a user was attempting to upload a rather large CSV file and ran into a strange problem. After roughly 3 minutes of processing, the application reprompted the user for their user name and password (NT authentication). At this point, the ASP.NET page re-fired the last event that it was processing.
14
2288
by: GaryDean | last post by:
The web.config in my asp.net application, running on Server2003, has this entry: <sessionState mode="InProc" timeout="40". In IIS the asp.net State Management timeout setting is 40 for my website. In IIS the virtual directory configuration setting is set to 40. The application still timesout at 20 minutes. What else can I do? --
3
4107
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and published. "Allow precompiled site to be updateable" is NOT checked. "Enable strong naming on precompiled assemblies" is NOT checked. However, "Use fixed naming and single page assemblies" IS checked. I did with the idea that if I call a single page from...
0
8454
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8363
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8561
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6203
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4200
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2013
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.