Solved

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

Posted on 2003-11-19
3
192 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
[X]
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
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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

617 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