Link to home
Start Free TrialLog in
Avatar of isnoend2001
isnoend2001Flag for United States of America

asked on

force a page refresh

Most of my pages are asp. All the menus are include files. I was planning on removing a bunch of pages that explained how to use software that i am discontinuing. Instead of removing the pages that may be indexed by search engines. i have decided to leave the pages and replace the body with a message "Sorry,This software has been discontinued"
 All the pages menus are include files. I have edited the menus  and removed the links to the pages i no longer want seen. But i can see this problem:
If a user gets a cached copy the old menus with invalid links will show.
 How can i force a page refresh with any browser?
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of isnoend2001

ASKER

Thanks
after googling  looks like there is a way to do it with java script, but it looks like more hassle than its worth
Another option you may want to look into is remove the undesired pages and use url rewriting to handle all requests to those pages and send them to a "safe" page.  That way anything indexed will be properly handled with a 301 redirect.

I'm on my phone so it's hard to post links but if you Google "url rewriting" you should be able to get some good examples
That wouldn't help where the page was already cached to start with, remember the files are included at the server so the browser only sees one page.
If it was done at the server level the request for the page address would be processed regardless of the contents of the page. If it matches a rule it'll do the redirect
I was referring to isnoend's comment not yours
Thanks guys looks as though it can be determined if its a cached page with iis and then reloaded
The server doesn't know if the browser is using a cached page.