?
Solved

How To Reset Application Variables without Rebooting Server

Posted on 2009-02-12
4
Medium Priority
?
446 Views
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.
0
Comment
Question by:davidcahan
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
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.
0
 

Author Comment

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

Assisted Solution

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

Author Closing Comment

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

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