• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 359
  • Last Modified:

Asp page not reloading in website, old version cached?

We have made some changes to an asp page in our website.  The new page was copied over the old one in the website folder.  When viewing the page through IE, the old page comes up, as if it's cached.  Yet when editing it with Dreamweaver CS3, it's the new code.  This sounds like some sort of caching on the website side, any ideas?
0
Susan Faul
Asked:
Susan Faul
  • 3
  • 2
1 Solution
 
Kelvin McDanielSr. Developer/ConsultantCommented:
Are you sure that the page has actually been pushed out to the server?
To make sure I would delete the server copy, then sync the page again.

Then, when you get to the page in your web browser, press CTRL+F5.
0
 
Susan FaulDatabase ProgrammerAuthor Commented:
The file was physically removed, and copied in again.  And I've refreshed and deleted temporary internet files, etc.  And it's not just me, but several other users who are still seeing old versions of the page.  So there is some caching somewhere.  
0
 
Kelvin McDanielSr. Developer/ConsultantCommented:
Hitting CTRL+F5 usually allows you to get the latest copy... unless the server is having REAL issues. Is this the only page that shows this same behavior?

Is this site in an environment that is load balanced?
--> This is common with large corprorate data centers that require high availability.
--> If so you'll have to wait until the other servers get the new version of the page.

This is going to sound silly, but are you sure you're updating the file you are looking at in the browser? Try this and see what happens:
1. Delete the file on the server.
2. Go to the page in the browser and verify that the page is actually deleted.
    --> If the page still shows up I bet you're not actually changing the "right" page


THE ABSOLUTE LAST RESORT OPTION:
------------------------------------------------------------------------------------
The only sure-fire way to fix a situation where a page is stuck in cache and isn't being refreshed is to ask the server administrator(s) to restart IIS on the server. Be aware that any website on the server will be down for however long it takes for IIS to cycle AND any current sessions will be lost. Pretty "expensive", but it will fix your situation IF it's a caching problem.

If the old version of the page is still showing up then you're definitely NOT updating the page you think you're updating.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Susan FaulDatabase ProgrammerAuthor Commented:
Refresh doesn't work.  It is our employee intranet site, and this is the first dynamic page, everything else is static html.  And silly isn't silly after you've tried almost everything you can think of.  I did delete the file, and I got your user friendly ie message about a missing page.  So I think I may be at the restart IIS stage.  
0
 
b0lsc0ttIT ManagerCommented:
sfaul,

Before restarting your server what happens if you add some random number (e.g. filename123.asp instead of filename.asp) to the file name?  Does that page appear correct and up to date?

What version of IIS and what is the OS for the server?  What do you get if you try viewing the page in Firefox or some other browser on the same computer?  What about IE on another computer?

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
Susan FaulDatabase ProgrammerAuthor Commented:
Stopping and restarting IIS was the only thing that worked.  Thanks for the help.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now