Solved

Two problesm - Project references and pages not expiring

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

705 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now