How To Reset Application Variables without Rebooting Server

Posted on 2009-02-12
Medium Priority
Last Modified: 2012-05-06
How do I force a web site to "reset" the values of application variables without rebooting the entire server.  I've tried stop and starting the particular website in the IIS Manager but this doesn't seem to work.
Question by:davidcahan
  • 2
  • 2
LVL 28

Accepted Solution

sybe earned 1000 total points
ID: 23632591
Edit the global.asa. When the webserver finds a new version of the global.asa (even if it is just a new empty linebreak), the application resets.

Author Comment

ID: 23633434
nice...so if i'm in.net world then you would be referring to the global.asax?
LVL 28

Assisted Solution

sybe earned 1000 total points
ID: 23633501
Yes, in .Net edit the global.asax.

Author Closing Comment

ID: 31546399
If you are in classic asp, then use the first solution.  if you are .net then the second one.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question