Re: How can I shut down and restart (only one) ASP.NET 2.0 website on the server?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Save either web.config or global.asax so it gets a newer timestamp.
That will automatically restart the application's AppDomain.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"mark4asp" <mark4asp@xxxxxxxxx> wrote in message news:1d9nq2p8qs8bkqmm8lm3kggvf6rmjbjrj1@xxxxxxxxxx
How can I shut down (only one) ASP.NET website on the server.

Problem. I have updated my web-site but the site which I see is the
old one (the one there prior to the update).

I do I force ASP.NET to use the code in the new site - including the
new global.asax settings. ?


I have set the HTTP headers to expire after 1 minute. I have put the
following line in web.config

<authentication mode="Forms">
<forms name="whateversite"
loginUrl="Default.aspx"
protection="Validation"
timeout="5"/>
</authentication>

I have tried stopping and starting IIS.


What do I do to force ASP.NET 2 to end all current sessions and begin
the application anew?

I really don't want to restart the server as there are other websites
running on it.



.



Relevant Pages