Solved

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

Posted on 2003-11-19
3
187 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
Comment Utility
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 500 total points
Comment Utility
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
Comment Utility
Thanks to you both.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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 Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now