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

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?
0
isnoend2001
Asked:
isnoend2001
  • 4
  • 2
  • 2
1 Solution
 
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
 
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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