Solved

Two problesm - Project references and pages not expiring

Posted on 2003-11-07
4
239 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
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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.
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
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…

810 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