Off-Topic Girl Troubles?, New movie? New CD out? Talk about it here
Off-Topic posts does not count towards your post rating.

Any IIS5 wizards out there?

Thread Tools
 
Search this Thread
 
Old April-23rd-2002, 03:19 PM
  #1  
Do you ZooM?
Thread Starter
 
sandman's Avatar
 
Join Date: Nov 2001
Location: Edmonton, AB (That's in Canada, by the way)
Posts: 845
sandman is on a distinguished road
Question Any IIS4 wizards out there?

Trying to update our staff intranet which uses IIS4.

I created the pages using ASP and extensive VB and Java script.

IIS was working fine for the longest time but now all of a sudden if I make changes to a page and try to refresh it from my browser IIS still shows the old page...

Anyone know how I can force IIS to refresh the pages?

Last edited by sandman; April-23rd-2002 at 03:26 PM.
sandman is offline  
Old April-23rd-2002, 03:30 PM
  #2  
Do you ZooM?
Thread Starter
 
sandman's Avatar
 
Join Date: Nov 2001
Location: Edmonton, AB (That's in Canada, by the way)
Posts: 845
sandman is on a distinguished road
Things we've tried that haven't worked:

Refreshing the client browser
Refreshing the browser on the server
Disabled IIS cache

Note - we're trying to avoid rebooting the machine.
sandman is offline  
Old April-23rd-2002, 05:55 PM
  #3  
Registered User
 
stef_nz's Avatar
 
Join Date: Apr 2002
Location: Christchurch, New Zealand
Posts: 172
stef_nz is on a distinguished road
i don't know if you are doing this already but one of the first lines in your asp code should be....

Response.Expires=0;

i use iis5.1 on xp pro but my web host is using iis5 on win2000 and i have never had that problem.

i also use javascript as opposed to vbscript but the line above should do the job....if you're already using "expires" then we'll have to go back to the drawing board........
stef_nz is offline  
Old April-23rd-2002, 06:03 PM
  #4  
Do you ZooM?
Thread Starter
 
sandman's Avatar
 
Join Date: Nov 2001
Location: Edmonton, AB (That's in Canada, by the way)
Posts: 845
sandman is on a distinguished road
Got it!!! (but i haven't got a clue how!!)

I actually had the refresh set to 60, but I had tried putting 0 in to no avail as well.

Here's what I did. Why did it start working again?

On the server I had 2 copies of the website as well. I moved the folders off the server onto my local machine and all of a sudden it started working again!!!

Would the server have been looking at those files in the backup folder for some reason instead of the current ones? Why if we didn't change anything would it start using the backup folder?? As soon as I moved those folders off the machine it started working 100%... too weird...

Thanks for you help! Maybe you can answer that one now!
sandman is offline  
Old April-23rd-2002, 06:15 PM
  #5  
Registered User
 
stef_nz's Avatar
 
Join Date: Apr 2002
Location: Christchurch, New Zealand
Posts: 172
stef_nz is on a distinguished road
the only thing i can think of - and i got caught with this once or twice too, is that maybe the site was set up fine but you were actually editing the files in the backup folder instead of the "live" ones????

you know? like sometimes you might go to the backup folder to look at a copy of an old file and your editor then uses that directory as its new default?? so then next time you save your updated files, they actually get saved to the backup directory instead of the live one, without you even realising...... you could easily find out if that was the case by looking at the saved file dates and times to see which were more recent......

if thats not it, then maybe its a special microsoft "feature" hahaha and we should just be grateful that its all going again eh?

stef_nz is offline  
Old April-24th-2002, 08:55 AM
  #6  
Do you ZooM?
Thread Starter
 
sandman's Avatar
 
Join Date: Nov 2001
Location: Edmonton, AB (That's in Canada, by the way)
Posts: 845
sandman is on a distinguished road
Damn straight man!!

No - i know for sure i wasn't editing the backup files. I think it had something to do with the virtual folders set up on the machine. I didn't do the initial setup so I haven't got a clue as to how they were set up or what kind of properties they have.

Oh well, like you say, just be gratefull it's working!!
sandman is offline  
Old April-24th-2002, 09:05 PM
  #7  
Registered User
 
stef_nz's Avatar
 
Join Date: Apr 2002
Location: Christchurch, New Zealand
Posts: 172
stef_nz is on a distinguished road
unfortunately you are right, but for those of us nutters who choose to work in this industry, iis is almost unavoidable now, let alone in the forseeable future.

sadly apache is still seen by a lot of corporates as being a throwback to unix - and who wants to remember the command line eh? (actually i DO! ) i know apache's strengths but its a tiny percentage of the corporate market compared to iis.

in defence of iis, it is getting better, ms is at least starting to pay attention to the security issues now......it is easy to set up and maintain and it scales very well. i also like the fact that i can write dynamic (asp) pages in javascript (which i already know)instead of having to learn a whole new scripting language like php.... plus, i tend to think i can keep "average joe hacker" out just as well as i can with apache - neither technology is able to prevent someone who truely knows what they are doing, from getting in.
stef_nz is offline  
Old April-25th-2002, 12:34 AM
  #8  
Do you ZooM?
Thread Starter
 
sandman's Avatar
 
Join Date: Nov 2001
Location: Edmonton, AB (That's in Canada, by the way)
Posts: 845
sandman is on a distinguished road
Originally posted by stef_nz
unfortunately you are right, but for those of us nutters who choose to work in this industry, iis is almost unavoidable now, let alone in the forseeable future.
xactly!! As well with the environment we're running here we have pretty much no choice. That and I have no say in what systems are being run. All I get to do is work on em..
sandman is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
hihoslva
Off-Topic
19
December-14th-2002 03:33 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 


Quick Reply: Any IIS5 wizards out there?



All times are GMT -5. The time now is 07:45 AM.