|
 |
asp_databases thread: Expiring the page
Message #1 by "David E" <registerukh@h...> on Thu, 24 Aug 2000 11:38:25 PDT
|
|
Hi list,
I just want to know how to expire a page. For example, if a user goes from
page 1 to page 2 and hits back button on the browser to go back to the page
1 then he should get a message that the page (page 1) has expired.
Any suggestions would be appreciated. Thanks.
Message #2 by jonathan frascella <jonathan.frascella@N...> on Fri, 25 Aug 2000 10:57:07 +0100
|
|
It is possible to use "Response.Expires" as I'm sure you know, but this
(AFAIK) can only have a time value in minutes.
You could use "Response.ExpiresAbsolute" to exactly specify a date and time,
but this doesn't really solve your problem. Maybe the time could be set for
under a minute?
Jonathan
-----Original Message-----
From: David E
Sent: 24 August 2000 19:38
To: ASP Databases
Subject: [asp_databases] Expiring the page
Hi list,
I just want to know how to expire a page. For example, if a user goes from
page 1 to page 2 and hits back button on the browser to go back to the page
1 then he should get a message that the page (page 1) has expired.
Any suggestions would be appreciated. Thanks.
Message #3 by jonathan frascella <jonathan.frascella@N...> on Fri, 25 Aug 2000 11:21:53 +0100
|
|
In addition to my previous mail, if you specify "Response.Expires = 0" then
the browser won't cache the page at all.
Jonathan
Message #4 by "Barrett, Anthony" <Anthony.Barrett@s...> on Fri, 25 Aug 2000 12:57:20 +0100
|
|
Can't you do Expires -1 then that would mean that the page is expired as
soon as you enter it.
JAT
Anfernee
---
You are currently subscribed to asp_databases
Message #5 by plefebvre@q... on Fri, 25 Aug 2000 08:47:57 -0400
|
|
If you want a complete expiration of your page, do it. You will never
have
touble with the cache anymore.
response.expires = -1
response.expiresabsolute = Now() - 1
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.CacheControl = "no-cache"
Patrick Lefebvre
Analyste-programmeur
Qu=E9bectel-ami
plefebvre@q...
(xxx) xxx-xxxx poste 302
1 xxx xxx-xxxx
"Barrett, Anthony
To:"ASP Databases" <asp_databases@p...> Subject:[asp_databases] RE: Expiring the page
2000-08-25 07:57
Can't you do Expires -1 then that would mean that the page is expired as
soon as you enter it.
JAT
Anfernee
Message #6 by "Ken Schaefer" <ken@a...> on Mon, 28 Aug 2000 17:27:44 +1000
|
|
www.learnasp.com/learn/cachenomore.asp
or, in the IIS MMC properties for the site, choose "Expire content
immediately"
Cheers
Ken
----- Original Message -----
From: "David E" <registerukh@h...>
To: "ASP Databases" <asp_databases@p...>
Sent: Friday, August 25, 2000 4:38 AM
Subject: [asp_databases] Expiring the page
> Hi list,
>
> I just want to know how to expire a page. For example, if a user goes from
> page 1 to page 2 and hits back button on the browser to go back to the
page
> 1 then he should get a message that the page (page 1) has expired.
> Any suggestions would be appreciated. Thanks.
Message #7 by Dan Te Whaiti <dant@h...> on Tue, 29 Aug 2000 09:07:14 +1200
|
|
I use <META HTTP-EQUIV="Expires" CONTENT="0">
regards Dan
-----Original Message-----
From: Ken Schaefer [
Sent: Monday, August 28, 2000 7:28 PM
To: ASP Databases
Subject: [asp_databases] Re: Expiring the page
www.learnasp.com/learn/cachenomore.asp
or, in the IIS MMC properties for the site, choose "Expire content
immediately"
Cheers
Ken
----- Original Message -----
From: "David E" <registerukh@h...>
To: "ASP Databases" <asp_databases@p...>
Sent: Friday, August 25, 2000 4:38 AM
Subject: [asp_databases] Expiring the page
> Hi list,
>
> I just want to know how to expire a page. For example, if a user goes from
> page 1 to page 2 and hits back button on the browser to go back to the
page
> 1 then he should get a message that the page (page 1) has expired.
> Any suggestions would be appreciated. Thanks.
Message #8 by "David E" <registerukh@h...> on Tue, 29 Aug 2000 10:00:31 PDT
|
|
Thanks all folks who helped me. Regards
>From: "Ken Schaefer"
>Reply-To: "ASP Databases" <asp_databases@p...>
>To: "ASP Databases" <asp_databases@p...>
>Subject: [asp_databases] Re: Expiring the page
>Date: Mon, 28 Aug 2000 17:27:44 +1000
>
>www.learnasp.com/learn/cachenomore.asp
>
>or, in the IIS MMC properties for the site, choose "Expire content
>immediately"
>
>Cheers
>Ken
>
>----- Original Message -----
>From: "David E"
>To: "ASP Databases" <asp_databases@p...>
>Sent: Friday, August 25, 2000 4:38 AM
>Subject: [asp_databases] Expiring the page
>
>
> > Hi list,
> >
> > I just want to know how to expire a page. For example, if a user goes
>from
> > page 1 to page 2 and hits back button on the browser to go back to the
>page
> > 1 then he should get a message that the page (page 1) has expired.
> > Any suggestions would be appreciated. Thanks.
>
>
|
|
 |