Solved

Two problesm - Project references and pages not expiring

Posted on 2003-11-07
4
242 Views
Last Modified: 2013-12-24
I have three  problems:
   1.I have searched the manuals, but do not see what I should check under project references in regard to Visual InterDev, can someone tell what should be checked??

   2. I am having a problem with my pages expiring. I have at the beginning of each page, (before the incude statement for ado and the html tag, I do not issue a response.flush etc.). I have made sure my history folder is dumped and my cache is dumped before testing but it does not matter. It simply wouldn't expire the pages, and I am kinda getting desperate here.
Below is the  inserted the code (I am using server-side coding):

Response.Buffer = True
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "Expires", "0"

yet, my pages do not expire as expected. I have tried with IE 5.5 and up, tried it with WIn98, Wint2000, and Xp Pro and can not figure out waht the problem is.
CAn someone please help me ??
0
Comment
Question by:bearpaws
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
dgorin earned 500 total points
ID: 9733317
#1, I don't check any project references using VID to do normal asp web development.  If you include any ActiveX components in your project your project won't be real portable.

For #2, here's what I use for asp 2 & 3

response.Expires = 0
response.ExpiresAbsolute = Now() - 1
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.CacheControl = "no-cache"

0
 

Author Comment

by:bearpaws
ID: 9733840
I just wanted to make sure on the project references. I have never checked anything either.
I have tried all of those statements and they just won't expire.Still there went you press the back button...sigh :(
It's crazy. I have ran the web site on a WinNt4.0, 2000 and 2003 and it makes no difference..sigh....
got any more ideas?
thanks...
0
 
LVL 5

Expert Comment

by:dgorin
ID: 9733882
Maybe a browser setting?  I use IE with the "Check for newer versions of the stored page" set to Automatic, and I've never had a problem with forcing db pages to expire.

0
 

Author Comment

by:bearpaws
ID: 9735772
yep, all sorts of things. They just won't expire...
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question