Ask a Question related to ASP.NET General, Design and Development.
-
VB Programmer #1
Question: How can I "expire" a web page (prevent BACK button)
I know some sites will display the following message if you click on the
BACK button in your browser. How do I implement this feature?
Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available. As a
security precaution, Internet Explorer does not automatically resubmit your
information for you.
To resubmit your information and view this Web page, click the Refresh
button.
VB Programmer Guest
-
back button/making a page expire...
Due to last minute changes by sales, I needed add a another page... Long story, however my problem is the following: I need to expire a page... -
Simulate Browser "BACK" button
Hello, There are many situations on my site that the user has the option of retunring to the prior page. Rather than adding text that reads... -
"User cannot change pwd" and "Pwd never expire" by using Directory
I create a account by using the DirectorySerive and it is running: --------------------------------------------------------- Dim ContainerEntry As... -
Will browser "BACK BUTTON"ever work??
Is there I can build a flash site that will alllow a user to use the "back or forward button" in their browser to navigate through a flash site.... -
"Back Button" and populated dropdown lists
Hi, I have done some research about my problem I have when using the "back button" in IE to go back to a page with two dropdown lists. The... -
Alvin Bruney #2
Re: Question: How can I "expire" a web page (prevent BACK button)
Response.SetCacheability(nocache enum) roughly
"VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...a> I know some sites will display the following message if you click on the
> BACK button in your browser. How do I implement this feature?
>
> Warning: Page has Expired The page you requested was created using
> information you submitted in a form. This page is no longer available. Asyour> security precaution, Internet Explorer does not automatically resubmit> information for you.
>
> To resubmit your information and view this Web page, click the Refresh
> button.
>
>
Alvin Bruney Guest
-
VB Programmer #3
Re: Question: How can I "expire" a web page (prevent BACK button)
Thanks. In the Page_Load even I tried both:
Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)
and
Response.Cache.SetCacheability(HttpCacheability.No Cache )
But, I can still hit the BACK button and see the page. Ideas?
"Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote in
message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...As> Response.SetCacheability(nocache enum) roughly
>
> "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...> > I know some sites will display the following message if you click on the
> > BACK button in your browser. How do I implement this feature?
> >
> > Warning: Page has Expired The page you requested was created using
> > information you submitted in a form. This page is no longer available.> a> your> > security precaution, Internet Explorer does not automatically resubmit>> > information for you.
> >
> > To resubmit your information and view this Web page, click the Refresh
> > button.
> >
> >
>
VB Programmer Guest
-
Dhananjay Modak #4
Re: Question: How can I "expire" a web page (prevent BACK button)
could it be caching on a proxy ... in the old asp world we would do the
following:
Response.Expires = -1
Response.AddHeader "Pragma", "No-Cache"
Response.CacheControl = "no-cache"
"VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...the> Thanks. In the Page_Load even I tried both:
>
> Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)
> and
> Response.Cache.SetCacheability(HttpCacheability.No Cache )
>
> But, I can still hit the BACK button and see the page. Ideas?
>
> "Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote in
> message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...> > Response.SetCacheability(nocache enum) roughly
> >
> > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...> > > I know some sites will display the following message if you click on> As> > > BACK button in your browser. How do I implement this feature?
> > >
> > > Warning: Page has Expired The page you requested was created using
> > > information you submitted in a form. This page is no longer available.>> > a> > your> > > security precaution, Internet Explorer does not automatically resubmit> >> > > information for you.
> > >
> > > To resubmit your information and view this Web page, click the Refresh
> > > button.
> > >
> > >
> >
>
Dhananjay Modak Guest
-
VB Programmer #5
Re: Question: How can I "expire" a web page (prevent BACK button)
Thanks. I've tried...
Response.Expires=-1
also...
Response.Cache.SetExpires(DateTime.Now.AddSeconds( 0))
Response.Cache.SetCacheability(HttpCacheability.No Cache)
It still let's me go "BACK" to the form. Any ideas?
"Dhananjay Modak" <dhananjay.modak@newellandbudge.com> wrote in message
news:OZpOibqWDHA.2100@TK2MSFTNGP11.phx.gbl...Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)> could it be caching on a proxy ... in the old asp world we would do the
> following:
>
> Response.Expires = -1
>
> Response.AddHeader "Pragma", "No-Cache"
>
> Response.CacheControl = "no-cache"
>
>
>
> "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...> > Thanks. In the Page_Load even I tried both:
> >
> >in> > and
> > Response.Cache.SetCacheability(HttpCacheability.No Cache )
> >
> > But, I can still hit the BACK button and see the page. Ideas?
> >
> > "Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wroteavailable.> the> > message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...> > > Response.SetCacheability(nocache enum) roughly
> > >
> > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...
> > > > I know some sites will display the following message if you click on> > > > BACK button in your browser. How do I implement this feature?
> > > >
> > > > Warning: Page has Expired The page you requested was created using
> > > > information you submitted in a form. This page is no longerresubmit> > As> > > a
> > > > security precaution, Internet Explorer does not automaticallyRefresh> > > your
> > > > information for you.
> > > >
> > > > To resubmit your information and view this Web page, click the>> >> > > > button.
> > > >
> > > >
> > >
> > >
> >
>
VB Programmer Guest
-
William F. Robertson, Jr. #6
Re: Question: How can I "expire" a web page (prevent BACK button)
I know this does basically one way or another what you are going for, but it
should force a refresh to the server.
bill
<meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache" />
"VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
news:OmXCt2qWDHA.2424@TK2MSFTNGP12.phx.gbl...on> Thanks. I've tried...
>
> Response.Expires=-1
>
> also...
>
> Response.Cache.SetExpires(DateTime.Now.AddSeconds( 0))
> Response.Cache.SetCacheability(HttpCacheability.No Cache)
>
> It still let's me go "BACK" to the form. Any ideas?
>
> "Dhananjay Modak" <dhananjay.modak@newellandbudge.com> wrote in message
> news:OZpOibqWDHA.2100@TK2MSFTNGP11.phx.gbl...> Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)> > could it be caching on a proxy ... in the old asp world we would do the
> > following:
> >
> > Response.Expires = -1
> >
> > Response.AddHeader "Pragma", "No-Cache"
> >
> > Response.CacheControl = "no-cache"
> >
> >
> >
> > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...> > > Thanks. In the Page_Load even I tried both:
> > >
> > >> in> > > and
> > > Response.Cache.SetCacheability(HttpCacheability.No Cache )
> > >
> > > But, I can still hit the BACK button and see the page. Ideas?
> > >
> > > "Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote> > > message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...
> > > > Response.SetCacheability(nocache enum) roughly
> > > >
> > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...
> > > > > I know some sites will display the following message if you click> available.> > the> > > > > BACK button in your browser. How do I implement this feature?
> > > > >
> > > > > Warning: Page has Expired The page you requested was created using
> > > > > information you submitted in a form. This page is no longer> resubmit> > > As
> > > > a
> > > > > security precaution, Internet Explorer does not automatically> Refresh> > > > your
> > > > > information for you.
> > > > >
> > > > > To resubmit your information and view this Web page, click the>> >> > > > > button.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
William F. Robertson, Jr. Guest
-
VB Programmer #7
Re: Question: How can I "expire" a web page (prevent BACK button)
Thanks.
Tried that also. It didn't work. Any more ideas?
Any links to samples, etc..?
"William F. Robertson, Jr." <wfrobertson@kpmg.com> wrote in message
news:uFKEvgrWDHA.3924@tk2msftngp13.phx.gbl...it> I know this does basically one way or another what you are going for, butthe> should force a refresh to the server.
>
> bill
>
> <meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT" />
> <meta http-equiv="cache-control" content="no-cache">
> <meta http-equiv="pragma" content="no-cache" />
>
>
> "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> news:OmXCt2qWDHA.2424@TK2MSFTNGP12.phx.gbl...> > Thanks. I've tried...
> >
> > Response.Expires=-1
> >
> > also...
> >
> > Response.Cache.SetExpires(DateTime.Now.AddSeconds( 0))
> > Response.Cache.SetCacheability(HttpCacheability.No Cache)
> >
> > It still let's me go "BACK" to the form. Any ideas?
> >
> > "Dhananjay Modak" <dhananjay.modak@newellandbudge.com> wrote in message
> > news:OZpOibqWDHA.2100@TK2MSFTNGP11.phx.gbl...> > > could it be caching on a proxy ... in the old asp world we would dowrote> > Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)> > > following:
> > >
> > > Response.Expires = -1
> > >
> > > Response.AddHeader "Pragma", "No-Cache"
> > >
> > > Response.CacheControl = "no-cache"
> > >
> > >
> > >
> > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...
> > > > Thanks. In the Page_Load even I tried both:
> > > >
> > > >> > > > and
> > > > Response.Cache.SetCacheability(HttpCacheability.No Cache )
> > > >
> > > > But, I can still hit the BACK button and see the page. Ideas?
> > > >
> > > > "Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com >click> > in> > > > message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...
> > > > > Response.SetCacheability(nocache enum) roughly
> > > > >
> > > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...
> > > > > > I know some sites will display the following message if youusing> on> > > the
> > > > > > BACK button in your browser. How do I implement this feature?
> > > > > >
> > > > > > Warning: Page has Expired The page you requested was created>> > available.> > > > > > information you submitted in a form. This page is no longer> > resubmit> > > > As
> > > > > a
> > > > > > security precaution, Internet Explorer does not automatically> > Refresh> > > > > your
> > > > > > information for you.
> > > > > >
> > > > > > To resubmit your information and view this Web page, click the> >> > > > > > button.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
VB Programmer Guest
-
Jerry III #8
Re: Question: How can I "expire" a web page (prevent BACK button)
That page about resubmitting you're talking about does not come from the
server. It is shown by IE and you will see if when you come back to a page
that got form submitted through POST method to it. If you come back to such
a page IE (or any other client for that matter) will not automatically
resubmit the form.
Jerry
"VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
news:eltdvxrWDHA.2880@tk2msftngp13.phx.gbl...but> Thanks.
>
> Tried that also. It didn't work. Any more ideas?
>
> Any links to samples, etc..?
>
> "William F. Robertson, Jr." <wfrobertson@kpmg.com> wrote in message
> news:uFKEvgrWDHA.3924@tk2msftngp13.phx.gbl...> > I know this does basically one way or another what you are going for,message> it> > should force a refresh to the server.
> >
> > bill
> >
> > <meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT" />
> > <meta http-equiv="cache-control" content="no-cache">
> > <meta http-equiv="pragma" content="no-cache" />
> >
> >
> > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > news:OmXCt2qWDHA.2424@TK2MSFTNGP12.phx.gbl...> > > Thanks. I've tried...
> > >
> > > Response.Expires=-1
> > >
> > > also...
> > >
> > > Response.Cache.SetExpires(DateTime.Now.AddSeconds( 0))
> > > Response.Cache.SetCacheability(HttpCacheability.No Cache)
> > >
> > > It still let's me go "BACK" to the form. Any ideas?
> > >
> > > "Dhananjay Modak" <dhananjay.modak@newellandbudge.com> wrote in> the> > > news:OZpOibqWDHA.2100@TK2MSFTNGP11.phx.gbl...
> > > > could it be caching on a proxy ... in the old asp world we would do> wrote> > > > following:
> > > >
> > > > Response.Expires = -1
> > > >
> > > > Response.AddHeader "Pragma", "No-Cache"
> > > >
> > > > Response.CacheControl = "no-cache"
> > > >
> > > >
> > > >
> > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...
> > > > > Thanks. In the Page_Load even I tried both:
> > > > >
> > > > >
> > > Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)
> > > > > and
> > > > > Response.Cache.SetCacheability(HttpCacheability.No Cache )
> > > > >
> > > > > But, I can still hit the BACK button and see the page. Ideas?
> > > > >
> > > > > "Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com >> click> > > in
> > > > > message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...
> > > > > > Response.SetCacheability(nocache enum) roughly
> > > > > >
> > > > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > > > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...
> > > > > > > I know some sites will display the following message if you> using> > on> > > > the
> > > > > > > BACK button in your browser. How do I implement this feature?
> > > > > > >
> > > > > > > Warning: Page has Expired The page you requested was created>> >> > > > > > > information you submitted in a form. This page is no longer
> > > available.
> > > > > As
> > > > > > a
> > > > > > > security precaution, Internet Explorer does not automatically
> > > resubmit
> > > > > > your
> > > > > > > information for you.
> > > > > > >
> > > > > > > To resubmit your information and view this Web page, click the
> > > Refresh
> > > > > > > button.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
Jerry III Guest
-
VB Programmer #9
Re: Question: How can I "expire" a web page (prevent BACK button)
As I stated in my original message I would like my browser to give me a
"Warning: Page has Expired..." message, like it does if you try hitting the
BACK key in a secure website (PayPal.com, etc...)
Robert
"Jerry III" <jerryiii@hotmail.com> wrote in message
news:OtrD4nsWDHA.888@TK2MSFTNGP10.phx.gbl...such> That page about resubmitting you're talking about does not come from the
> server. It is shown by IE and you will see if when you come back to a page
> that got form submitted through POST method to it. If you come back too> a page IE (or any other client for that matter) will not automatically
> resubmit the form.
>
> Jerry
>
> "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> news:eltdvxrWDHA.2880@tk2msftngp13.phx.gbl...> but> > Thanks.
> >
> > Tried that also. It didn't work. Any more ideas?
> >
> > Any links to samples, etc..?
> >
> > "William F. Robertson, Jr." <wfrobertson@kpmg.com> wrote in message
> > news:uFKEvgrWDHA.3924@tk2msftngp13.phx.gbl...> > > I know this does basically one way or another what you are going for,> message> > it> > > should force a refresh to the server.
> > >
> > > bill
> > >
> > > <meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT" />
> > > <meta http-equiv="cache-control" content="no-cache">
> > > <meta http-equiv="pragma" content="no-cache" />
> > >
> > >
> > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > news:OmXCt2qWDHA.2424@TK2MSFTNGP12.phx.gbl...
> > > > Thanks. I've tried...
> > > >
> > > > Response.Expires=-1
> > > >
> > > > also...
> > > >
> > > > Response.Cache.SetExpires(DateTime.Now.AddSeconds( 0))
> > > > Response.Cache.SetCacheability(HttpCacheability.No Cache)
> > > >
> > > > It still let's me go "BACK" to the form. Any ideas?
> > > >
> > > > "Dhananjay Modak" <dhananjay.modak@newellandbudge.com> wrote in> > > > news:OZpOibqWDHA.2100@TK2MSFTNGP11.phx.gbl...
> > > > > could it be caching on a proxy ... in the old asp world we would dResponse.Cache.SetCacheability(HttpCacheability.No Cache )> > the> > > > > following:
> > > > >
> > > > > Response.Expires = -1
> > > > >
> > > > > Response.AddHeader "Pragma", "No-Cache"
> > > > >
> > > > > Response.CacheControl = "no-cache"
> > > > >
> > > > >
> > > > >
> > > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > > news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...
> > > > > > Thanks. In the Page_Load even I tried both:
> > > > > >
> > > > > >
> > > > Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)
> > > > > > and
> > > > > >feature?> > wrote> > > > > >
> > > > > > But, I can still hit the BACK button and see the page. Ideas?
> > > > > >
> > > > > > "Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com >> > click> > > > in
> > > > > > message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...
> > > > > > > Response.SetCacheability(nocache enum) roughly
> > > > > > >
> > > > > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > > > > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...
> > > > > > > > I know some sites will display the following message if you> > > on
> > > > > the
> > > > > > > > BACK button in your browser. How do I implement thisautomatically> > using> > > > > > > >
> > > > > > > > Warning: Page has Expired The page you requested was created> > > > > > > > information you submitted in a form. This page is no longer
> > > > available.
> > > > > > As
> > > > > > > a
> > > > > > > > security precaution, Internet Explorer does notthe> > > > resubmit
> > > > > > > your
> > > > > > > > information for you.
> > > > > > > >
> > > > > > > > To resubmit your information and view this Web page, click>> >> > > > Refresh
> > > > > > > > button.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
VB Programmer Guest
-
Mark Fox #10
Re: Question: How can I "expire" a web page (prevent BACK button)
From what I could tell, the expire notice when you press
back is caused by the page submitting form variables. If
you have the page submit a form (along with a couple
variables) to get to the next page, you should receive
the message when you click back.
(0))>-----Original Message-----
>Thanks. I've tried...
>
> Response.Expires=-1
>
>also...
>
> Response.Cache.SetExpires(DateTime.Now.AddSeconds(HttpCacheability.NoCache)> Response.Cache.SetCacheabilitywrote in message>
>It still let's me go "BACK" to the form. Any ideas?
>
>"Dhananjay Modak" <dhananjay.modak@newellandbudge.com>world we would do the>news:OZpOibqWDHA.2100@TK2MSFTNGP11.phx.gbl...>> could it be caching on a proxy ... in the old aspmessage>> following:
>>
>> Response.Expires = -1
>>
>> Response.AddHeader "Pragma", "No-Cache"
>>
>> Response.CacheControl = "no-cache"
>>
>>
>>
>> "VB Programmer" <growNO-SPAM@go-intech.com> wrote in(HttpCacheability.ServerAndNoCache)>Response.Cache.SetCacheability>> news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...>> > Thanks. In the Page_Load even I tried both:
>> >
>> >(HttpCacheability.NoCache )>> > and
>> > Response.Cache.SetCacheabilitypage. Ideas?>> >
>> > But, I can still hit the BACK button and see the<vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote>> >
>> > "Alvin Bruney"in message>in>> > message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...
>> > > Response.SetCacheability(nocache enum) roughly
>> > >
>> > > "VB Programmer" <growNO-SPAM@go-intech.com> wrotemessage if you click on>> > > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...
>> > > > I know some sites will display the followingthis feature?>> the>> > > > BACK button in your browser. How do I implementwas created using>> > > >
>> > > > Warning: Page has Expired The page you requestedis no longer>> > > > information you submitted in a form. This pageautomatically>available.>> > As
>> > > a
>> > > > security precaution, Internet Explorer does notpage, click the>resubmit>> > > your
>> > > > information for you.
>> > > >
>> > > > To resubmit your information and view this Web>Refresh>>>>> > > > button.
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>
>.
>Mark Fox Guest
-
Jerry III #11
Re: Question: How can I "expire" a web page (prevent BACK button)
Do you want me to repeat myself? This happens when you submit data to that
page through POST. It has absolutely NOTHING to do with page expiration.
Jerry
"VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
news:OdvJZqsWDHA.608@TK2MSFTNGP12.phx.gbl...the> As I stated in my original message I would like my browser to give me a
> "Warning: Page has Expired..." message, like it does if you try hittingpage> BACK key in a secure website (PayPal.com, etc...)
>
> Robert
>
> "Jerry III" <jerryiii@hotmail.com> wrote in message
> news:OtrD4nsWDHA.888@TK2MSFTNGP10.phx.gbl...> > That page about resubmitting you're talking about does not come from the
> > server. It is shown by IE and you will see if when you come back to afor,> such> > that got form submitted through POST method to it. If you come back to> > a page IE (or any other client for that matter) will not automatically
> > resubmit the form.
> >
> > Jerry
> >
> > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > news:eltdvxrWDHA.2880@tk2msftngp13.phx.gbl...> > > Thanks.
> > >
> > > Tried that also. It didn't work. Any more ideas?
> > >
> > > Any links to samples, etc..?
> > >
> > > "William F. Robertson, Jr." <wfrobertson@kpmg.com> wrote in message
> > > news:uFKEvgrWDHA.3924@tk2msftngp13.phx.gbl...
> > > > I know this does basically one way or another what you are going/>> > but> > > it
> > > > should force a refresh to the server.
> > > >
> > > > bill
> > > >
> > > > <meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT"d> > message> > > > <meta http-equiv="cache-control" content="no-cache">
> > > > <meta http-equiv="pragma" content="no-cache" />
> > > >
> > > >
> > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > news:OmXCt2qWDHA.2424@TK2MSFTNGP12.phx.gbl...
> > > > > Thanks. I've tried...
> > > > >
> > > > > Response.Expires=-1
> > > > >
> > > > > also...
> > > > >
> > > > > Response.Cache.SetExpires(DateTime.Now.AddSeconds( 0))
> > > > > Response.Cache.SetCacheability(HttpCacheability.No Cache)
> > > > >
> > > > > It still let's me go "BACK" to the form. Any ideas?
> > > > >
> > > > > "Dhananjay Modak" <dhananjay.modak@newellandbudge.com> wrote in> > > > > news:OZpOibqWDHA.2100@TK2MSFTNGP11.phx.gbl...
> > > > > > could it be caching on a proxy ... in the old asp world we would<vapordan_spam_me_not@hotmail_no_spamhotmail.com >> o> Response.Cache.SetCacheability(HttpCacheability.No Cache )> > > the
> > > > > > following:
> > > > > >
> > > > > > Response.Expires = -1
> > > > > >
> > > > > > Response.AddHeader "Pragma", "No-Cache"
> > > > > >
> > > > > > Response.CacheControl = "no-cache"
> > > > > >
> > > > > >
> > > > > >
> > > > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > > > news:e9256VqWDHA.888@TK2MSFTNGP10.phx.gbl...
> > > > > > > Thanks. In the Page_Load even I tried both:
> > > > > > >
> > > > > > >
> > > > > Response.Cache.SetCacheability(HttpCacheability.Se rverAndNoCache)
> > > > > > > and
> > > > > > >> > > > > > >
> > > > > > > But, I can still hit the BACK button and see the page. Ideas?
> > > > > > >
> > > > > > > "Alvin Bruney"you> > > wrote
> > > > > in
> > > > > > > message news:OcISQOqWDHA.1744@TK2MSFTNGP12.phx.gbl...
> > > > > > > > Response.SetCacheability(nocache enum) roughly
> > > > > > > >
> > > > > > > > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> > > > > > > > news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...
> > > > > > > > > I know some sites will display the following message ifcreated> feature?> > > click
> > > > on
> > > > > > the
> > > > > > > > > BACK button in your browser. How do I implement this> > > > > > > > >
> > > > > > > > > Warning: Page has Expired The page you requested waslonger> > > using
> > > > > > > > > information you submitted in a form. This page is no> automatically> > > > > available.
> > > > > > > As
> > > > > > > > a
> > > > > > > > > security precaution, Internet Explorer does not> the> > > > > resubmit
> > > > > > > > your
> > > > > > > > > information for you.
> > > > > > > > >
> > > > > > > > > To resubmit your information and view this Web page, click>> >> > > > > Refresh
> > > > > > > > > button.
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
Jerry III Guest
-
Michael Tissington #12
Re: Question: How can I "expire" a web page (prevent BACK button)
Like other have said - you ONLY will get this when a FORM is involved on the
page.
--
Michael Tissington
Oaklodge Technologies
[url]http://www.oaklodge.com/technology[/url]
"VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...a> I know some sites will display the following message if you click on the
> BACK button in your browser. How do I implement this feature?
>
> Warning: Page has Expired The page you requested was created using
> information you submitted in a form. This page is no longer available. Asyour> security precaution, Internet Explorer does not automatically resubmit> information for you.
>
> To resubmit your information and view this Web page, click the Refresh
> button.
>
>
Michael Tissington Guest
-
VB Programmer #13
Re: Question: How can I "expire" a web page (prevent BACK button)
This is a form (ASP.NET webform). Is this what you mean? Sorry, ASP.NET /
web development is new to me.
"Michael Tissington" <michael@nospam.com> wrote in message
news:e0s$8ZuWDHA.2056@TK2MSFTNGP11.phx.gbl...the> Like other have said - you ONLY will get this when a FORM is involved onAs> page.
>
> --
> Michael Tissington
> Oaklodge Technologies
> [url]http://www.oaklodge.com/technology[/url]
>
> "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
> news:e8oEWFqWDHA.2312@TK2MSFTNGP10.phx.gbl...> > I know some sites will display the following message if you click on the
> > BACK button in your browser. How do I implement this feature?
> >
> > Warning: Page has Expired The page you requested was created using
> > information you submitted in a form. This page is no longer available.> a> your> > security precaution, Internet Explorer does not automatically resubmit>> > information for you.
> >
> > To resubmit your information and view this Web page, click the Refresh
> > button.
> >
> >
>
VB Programmer Guest



Reply With Quote

