473,699 Members | 2,506 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS restart + Session Time out

I am using classic ASP. When the session times out theglobal.asa event
called session_on end is invoked which is absolutely correct. When I
explicitely do IIS reset or iis restart then again session_on end is
invoked. How can I distguish in global.asa event session_on end that this is
natural session time out or explicit IIS restart....

thanks
Oct 16 '06 #1
1 2490

I would say, i have been programming in ASP for few years and never
really got the session onend working.
And about restarting the IIS, i would say that the application on end
is the one that was invoked, because the session on end never worked
with me.

Do you mind showing us your code please??
Best Regards
Firas S Assaad
On Oct 16, 1:01 pm, "abcd" <a...@abcd.comw rote:
I am using classic ASP. When the session times out theglobal.asa event
called session_on end is invoked which is absolutely correct. When I
explicitely do IIS reset or iis restart then again session_on end is
invoked. How can I distguish in global.asa event session_on end that this is
natural session time out or explicit IIS restart....

thanks
Oct 17 '06 #2

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

Similar topics

5
1648
by: LL | last post by:
Hi, I use Applicaiton lever variable like this: Application = xxx; Do I need to restart the WWW service every time to reset it? I also have several Session variables. When Session_End event fire, all of them are null, right? Thanks.
1
2456
by: | last post by:
I changed the session timeout value in web.config file, but the changes were not applied to the new sessions until I restarted IIS. Is this normal ? Thanks. I expected that the new user session will use the new value immediatelly.
1
1224
by: Steven Spits | last post by:
Hi group, We have installed our first ASP.NET WebApp on our preproduction server. The site stores some general user information in session variables that are needed in every page. So loosing your session means you'll get an error (for the time being). Session is stored in-process, so whenever the WebApp restarts, session is lost so logged on users will get an error.
18
5369
by: amdishigh | last post by:
We are experiencing the following problems concerning ASP.NET: our ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0 environment, experience frequent session timeout problem. After tracing, we find that it should be caused by "ASP.NET Application Restart" (proved by incremented counter for "Application Restarts" of "ASP.NET 1.1.4322" in "Performance" whenever the timeout happens). From MSDN documentation, we find...
1
1600
by: Christian | last post by:
Hi, I have a Windows Server 2003 with IIS 6.0 et dotnet 1.1 I have an asp.net application on that server with no more than 30 users a day. In my web.config the session timeout is set to 180 min and the form authentification timeout is set to 120 min. My problem is the following : IIS restart periodically with no reason. The restart occurs :
3
2776
by: ad | last post by:
I want to renew all values of Application and Session. How can I restart application in program?
8
9316
by: kenneth fleckenstein nielsen | last post by:
hi guru's I want to restart my webservice when ever it throws an exception that isn't cought. can i do that by web.config or iss or how ??
4
1767
by: abcd | last post by:
When IIS is restarted session_onEnd is called. though the debugger is not available at this point in Session_onEnd, is there any way that the code in session_onEnd is running due to iis restart and not from the timeout. thanks
1
4615
by: Sriram Srivatsan | last post by:
Hi We are trying to build an application where we render some of the .aspx pages from the database using a class derived from System.Web.Hosting.VirtualPathProvider. Users configure the contents of the page at runtime via the web interface and we do a XSLT transformation and store the contents of the .aspx pages in the database. The .aspx pages are hooked to a well known code behind in an assembly that is deployed as a assembly in the...
0
8686
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
9033
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8911
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,...
0
7748
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6533
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
4375
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
4627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2345
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.