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?
isnoend2001Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GaryCommented:
You can't really since the browser will not request a new copy until the cache expiry date has passed
But since you have a page saying Sorry... I wouldn't worry about it

You could, probably more work than its worth, change all your include file names and change everywhere that the included file/s are used to the new name
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
isnoend2001Author Commented:
Thanks
after googling  looks like there is a way to do it with java script, but it looks like more hassle than its worth
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
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
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

GaryCommented:
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.
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
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
0
GaryCommented:
I was referring to isnoend's comment not yours
0
isnoend2001Author Commented:
Thanks guys looks as though it can be determined if its a cached page with iis and then reloaded
0
GaryCommented:
The server doesn't know if the browser is using a cached page.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.