Application on start and session on start

Hello friends,

I got a basic question for you all.Can some one explain to me when exactly are the application on start and session on start are used , with a simple example.Thanks in advance.
11/26/2003 5:15:51 PM 91979 articles. 4 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 27
Get it on Google Play
Get it on Apple App Store

I have been curious of the very same thing. From what Ive read, application_start is fired the first time a request is made and the application hasnt been started yet. Now Im still not sure when the application ends though. I know it ends if IIS stops. It also ends if a recompile is done in the /bin folder. But Ive also read that it is supposed to also die after a certain amount of time or after all sessions end, but I dont know how to be sure thats the case. I havent seen it happen. The way I tested to see when these events fire is by writing a string out to a file.

session_start Im assuming is supposed to fire every time a new session is started. Which is every time a new visitor makes a request. So I tested this out too. Apparently, only files are actually considered as requests. If you request a .htm file, doesnt care. So I made some test .aspx files to see how sessions start too. The first file I made didnt include the < %@ Page > directive. BeginRequest and EndRequest were being fired, but session_start wasnt. Then with a page that did have the directive, session_start did fire. Does any one know why this would be?
11/26/2003 5:59:49 PM

Take a look @ :
- Managing Application State
- Using the Global.asax File
- Application Overview

K B Shajudeen
Dubai, United Arab Emirates.
11/26/2003 6:13:50 PM
Thanks ! Shaji That helped a lot
11/26/2003 7:42:49 PM

Similar Artilces:

Where to start and how did you get started?
Hi, I have had a feeling for a long time to jump into the adds market for some time due to my low income (shooting for the stars) and I don't have anything better to do these days. But I find it really difficult not to give up due to lack of guides (what I can find atleast) and all the hard words which only makes me confused. But I won't give up. Never. Not sure if this is the right place to post this, but I deffinitly would be really greatfull for help getting started. How did you get started? +If there are any teacher that wanna show me the ropes private, I can give payment with ...

How to set Thunderbird to start or to not start when Windows starts?
New to this forum, and got only a week's worth of topics. I have recently migrated Thunderbird from XP to Vista, but I still use the XP workstation and want to keep Thunderbird on it, but I don't want it to start each time at boot up. Can someone tell me how to prevent Thunderbird from starting when Windows starts in WinXP ? I have looked in the registry, in the profiles.ini and in the Thunderbird help section. Also, how to set it up to start when Vista starts? Thanks. This is a multi-part message in MIME format. --------------070709080209030101050405 Content...

Starting allready started!?!
I started develop sites, when I was young with ASP, just for curiosity, and so on carry it like a hobby. Today I’m creating a forum in ASP.Net, which I wished have the same editing text like we’ve here in learn visual studio, but anyway, now I want get some money from it. Haven’t been easy to do this forum, but I think I can handle it. This forum have criptografation, because only restricted people can enter in this app, every discussion is recorded in an XML file. Well I’m thinking that I’m doing a good Job. So how much should I ask for it? Is measuring how much I suffer to get it? ...

Start up when Windows starts up?
Name: Christopher Bothma Email: chrisjboatgmaildotcom Product: Sunbird Summary: Start up when Windows starts up? Comments: I think that Sunbird is a wonderful application, as I only discovered it a few days ago. However, it would be nice if I could select it to start automatically when Windows starts up, as I can't seem to find it. Reason being is that I have set tasks and reminders, but if I haven't launched Sunbird, it doesn't alert me if I'm busy with other applications. It would be cool to have the option to alert me as soon as windows has started. ...

Start stop and then start again
Name: Bill Butler Email: b143datearthlinkdotcom Product: Firefox Summary: Start stop and then start again Comments: FireFox starts microsoft reports that it must shut down then I restart it and all is well. I uninstalled it, and downloaded fresh, installed and it does the same thing. Windows XP, updated daily. ??????????????????????? Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070515 Firefox/ ...

Starting an application as soon as IIS starts
Is there a way to force IIS to start my application as soon as it starts, and not wait for the first request for that application?  Reason: I have an application that's deployed within IIS. I want to write some code within global.asax that will report the availability of my application to a central repository. This way this repository would list my IIS as serving this application (I'm going to have multiple IIS on multiple machines, so the repository needs to know which ones are up at any given time). It's a SOA kind of thing, where each IIS should report what services...

Truely just getting started, so where should I start?
I've already been working a thread on a good reference/learning book.  but truely I'm just getting started.  I've a background with HTML and some CSS But this is my first foray into any sort of application language.  I've had an interest in PHP and ASP but have only recently started to make the effort to learn.  I'm starting with the videos available here and they are great for learning the development application but I've not the programming background to easily absorb some of the more programming based processes.  I've no college resources where I'm at other than o...

How did we start a process when the web application is starting?
Hi guys!I'm doing a newsletter and i need to send mail every 24 hours. I need the process to start when the application start. I'm pretty new in from java). What do i need to do? A simple sample of what the web.config must look like and the Class would be very appreciated. I've looked at some books but they don't talk about it. Someone can help me on it?Thank you so muchPascal Add a Global.asax file to your project Add a static timer as a member, set for your period (24 * 60 * 60 * 1000) milliseconds.  Set the timer to auto re-start When the http application starts,. ...

How to start a new tread on application start?
Hi, I want to be able to run a bunch of house keeping stuff daily from my application. Is it as simple as starting a new thread in the application start method and putting a timer on the thread? Thanks I'm not sure you can put a timer on a tread; however, you can create as many thread as you need and assign a task to them -- they run independent of each other. Dim trd As Thread trd = New Thread(AddressOf MyProcedure) trd.IsBackground = True trd.Start() mike...

Option to skip 'restore session / start new session' on start up
Name: Richard Pascoe Email: rpatvacantmomentsdotcom Product: Firefox Summary: Option to skip 'restore session / start new session' on start up Comments: I often do not close all applications wen closing my machine and I find it quite frustrating having Firefox ask me if I want to restore my last session when I reload my machine. Could we please have an option to skip this question and just let Firefox open in a new session when there is no current session already open? If a session is already current then let Firefox do what it does now. Otherwise I love your p...

what shall i do if i want some applications to start-up at system started
like the title openSUSE 11.3 KDE -- vennebbbr ------------------------------------------------------------------------ When do you want said program to start really? It would help if we knew what program in order to advice when it should be started. If when the Desktop starts just put a script/or shortcut in ~/.kde4/Autostart -- gogalthorp ------------------------------------------------------------------------ gogalthorp's Profile: View this thread: ...

How to start Start 1st (FIRST) new web application
I opened Visual Clicked on file New Visual Basic Projects ASP.NET web application it gives error says the project doesnot exists or you donot have access \\MCS-VEA94ZEQ50A\wwwroot$\WebApplication1 Please help how to open new project n Do you have IIS running on your machine?This posting is provided "AS IS" with no warranties, and confers no rights. Hello, first of all you should be sure that your iis is running fine. You can test if you open your web browser and just type in 'http://localhost'. Then you should see a page called 'Under Constru...

How can I get conky start automatically when I start fvwm?
How can I get conky start automatically when I start fvwm? I setup the conky under fvwm session for my Opensuse 11 but it won't start automatically. I am wondering how to write some kind of scripts to force it to start automatically and with a delay about 10 seconds after fvwm starts. Thanks a lot. :P -- ggyyree ------------------------------------------------------------------------ Maybe this will help you: 'Conky Hardcore! �' ( -- Coffee is like Linux, only cool people use it. Tea is like W...

Starting an Application in .net
i am new to could any one give me simple ajax,net example so that i start building on my ajax skills please.........  I started with the todolist video on the main page, and its all you need to know to get started. Don't forget to click "Mark as Answer" on the post that helped you.This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.    ...

Web resources about - Application on start and session on start -

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Second visa application 'likely' to be approved
The family of a terminally ill Pakistani student can 'hopefully come to Australia sooner rather than later' says Immigration Minister Peter Dutton. ...

Tashfeen Malik's visa application under scrutiny - Business Insider Deutschland
The US government has released the visa application for Tashfeen Malik, who along with her husband killed 14 people in an attack in San Bernardino, ...

Panasonic Develops a Stretchable Resin Film and Its Application Materials for Stretchable Electronics ...
A stretchable film is developed. This film stretches to 2.5 times the original length and then returns to the original form. A conductive paste ...

MBA: Mortgage Applications Increase in Latest MBA Weekly Survey, Purchase Applications up 37% YoY
From the MBA: Refinance, Purchase Applications Both Up in Latest MBA Weekly Survey Mortgage applications increased 7.3 percent from one week ...

Lawmaker: Immigration Officials Didn’t Fully Vet Tashfeen Malik’s Visa Application
"It’s unacceptable that U.S. Citizenship and Immigration Services did not fully vet Malik’s application and instead sloppily approved her visa," ...

German-Based Spirea Promotes Decentralized PV Applications In Uruguay
... Its technical operations specialist, Laurie Lawrence, pointed out that Uruguay [&hellip German-Based Spirea Promotes Decentralized PV Applications ...

Visa application of San Bernardino shooter released
CNN Visa application of San Bernardino shooter released CNN (CNN) The visa application of one of the San Bernardino shooters was released ...

ZTE to develop smartphone application processors in house
ZTE has stepped up its efforts to internally develop smartphone chipset solutions, aiming to re-capture the title as one of the top-three smartphone ...

IBM Takes on AT&T Managed Application, Hosting Services
AT&T’s networking, security and mobility solutions coupled with IBM Cloud offers companies a fully managed IT environment.

Resources last updated: 1/6/2016 10:34:48 AM