473,569 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session Timeout control message.

Hi,
I want to check the session timeout finished in a minute. If there is a
minute, it sends a web page to caution the users. If he/she want to continue
he/she press the continue button . I was tried to thread but I can't sends
the message window.Javascri pt is not suitable because I used the IFrame
IFrames request are different. Is there any way sends to user these kinds
of message without a response.
Thanks for your helps.

Nov 18 '05 #1
1 3085

"caldera" <ca*****@none.c om> wrote in message news:On******** ******@TK2MSFTN GP09.phx.gbl...
Hi,
I want to check the session timeout finished in a minute. If there is a
minute, it sends a web page to caution the users. If he/she want to continue
he/she press the continue button . I was tried to thread but I can't sends
the message window.Javascri pt is not suitable because I used the IFrame
IFrames request are different. Is there any way sends to user these kinds
of message without a response.
Thanks for your helps.


You can't just send pages to the browser. That browser might have been closed
(or even the computer switched off) for the last 19 minutes.

Some things you could do:
* use <meta http-equiv=refresh> to refresh the page just before the session ends,
thereby keeping the session alive (might fail for a "postbacked " page)
* use <meta http-equiv=refresh> to redirect to some "session expired" page, after the
session should have safely expired
* use javascript setTimeout to alert the user that the session is about to expire.
Watch out: if you set that timeout to (say) 19 minutes, and the user doesn't
notice the alert for another two minutes, the alert box is still there but the session
did expire.

Hans Kesting
Nov 18 '05 #2

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

Similar topics

1
4405
by: alien2_51 | last post by:
I have an ASP.Net application running one level above the root web server. The root web server is configured for a 60 min session timeout. If I omit the timeout setting in the web.config eg..{ <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="10" sqlConnectionString="data source=127.0.0.1;user...
4
3884
by: Yuriy | last post by:
Hi, everybody! I need every 20 min extent my Session timeout. Any suggetions appreciated! Thanks
4
2135
by: JIsenstadt | last post by:
I would appreciate it if anybody can help with a issue I am having in an ASP.NET application that is timing out before a process has been completed. The scenario ASP.NET application under IIS 5 runs a crystal report (which has a lot of complex formatting) and returns over 6,000 pages. The time to export this report to PDF using Crystal...
11
2989
by: Vishal | last post by:
Hello, can anybody tell me how I can extend the session expiry time? Is it done via code or via IIS? Sorry I am new and dont know about this.
17
5184
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be running continuously and refreshing once an hour. I there set timeout= 61 in <sessionState section and on my page it says <meta http-equiv="refresh"...
9
5297
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of copy paste (I hear this will improve in ASP.Net 2 via master pages). When I navigate from one page to the next the header and footer user controls...
1
352
by: Annie | last post by:
hi guys, I was just wondering if we can override the session timeout for some of the pages in a web application as defined in the web config? let is say i have a group of pages A, b, c, d that are only related to each other and I don't want their session to be expired in 20 min as set in config file. is session.timeout sometihng that...
25
6045
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
13
2954
by: =?Utf-8?B?ZG91Zw==?= | last post by:
I support several intranet sites one of which had NO STATE. Even though content has ASP extensions, it was all rendered HTML. Site had NO session or application variables being managed. Site had no global.asa. IIS Manager had site timeout set to 20 minutes. We had to add an ASP include to pages, and that ASP include contained our first...
3
4989
by: dihola | last post by:
Hi, I have a website running in IIS7 and it seems to be creating a new session for every request I make. The values I store in Session are lost with every request. This is the forms bit in my web.config: <authentication mode="Forms"> <forms name=".ReMaCRM" loginUrl="~/Login.aspx" defaultUrl="~/Default.aspx"...
0
7612
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...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7668
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...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5509
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...
0
5218
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...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
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
1
1209
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.