Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2003-11-19
3
189 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 500 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…

828 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