Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Consequences of replacing .asp's on a live IIS server

Posted on 2003-11-19
3
Medium Priority
?
194 Views
Last Modified: 2010-04-07
Dear Experts,

Is there any possibility for things to go wrong if I replace a .asp file on a live webserver? I.e., I am thinking about what would happen if IIS is reading or executing the .asp at the time I am writing a new version to disk. Can anyone explain to me if there would be a problem?

Thanks.
Simon
0
Comment
Question by:metalaureate
3 Comments
 
LVL 10

Expert Comment

by:KenAdney
ID: 9780644
As I understand it, unless you've eliminated local cache, the page will remain in memory on the client's PC as long as that particular browser session is open.  When they execute the page on the server, it should automatically pick up the new code.  
0
 
LVL 19

Accepted Solution

by:
cheekycj earned 1500 total points
ID: 9788673
you shouldn't do live updates if your site sees high traffic.  Your users may end up seeing errors due to corrupt files if they request a file that is midstream of being over written.

Maybe put a down.asp page and add a redirect to it in global.asa.  Update your site.. remove the redirect in global.asa.  That would be cleaner and safer.

CJ
0
 

Author Comment

by:metalaureate
ID: 9789800
Thanks to you both.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

877 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