[thelist] ASP - Application never unloads

Eric Engelmann eric at geonetric.com
Thu Jun 1 11:23:53 2000


Stop and start IIS? Application vars stay active as long as IIS does,
whether there's sessions active or not.

There's also some code to kill the application vars, but not sure what it
is. MSDN might be a good bet for that.

Good luck!

- Eric


-----Original Message-----
From: thelist-admin@lists.evolt.org
[mailto:thelist-admin@lists.evolt.org]On Behalf Of Atkins, Chris
Sent: Thursday, June 01, 2000 10:07 AM
To: Evolt (E-mail)
Subject: [thelist] ASP - Application never unloads


I've this application that loads a whole bunch of Application
level variables when Application_OnStart (I know, I know,
but I'm just maintaining this thing, I didn't write it).

So, I'm thinking, every night the application should unload
after every session has timed out, but it doesn't.  Furthermore,
trying to explicitly unload the application ("Unload" button in
MMC for the app properties) doesn't unload the application
either.

The only way I can unload the application is to modify the
global.asa file which expires all sessions and unloads the
application.

In short, can someone help me understand what I have to
do to get the Application to unload in IIS?

Thanks a bunch (in advance even),
Christopher Atkins

---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !