Solved

Two problesm - Project references and pages not expiring

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

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

Suggested Solutions

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
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 set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

830 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