473,394 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Control of the Page Cache

I'm trying to prevent a page update (postback) being cached in the browser,
so if a user hits a link on page A and enters my webform page B, hits a few
buttons (each of which results in a postback), and then hits Back, he is
taken back to page A.

Can this be done ?
Nov 18 '05 #1
4 962
Check out this faq,
http://www.extremeexperts.com/Net/FA...ackButton.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Jeremy" <je*************@blueyonder.co.yk> wrote in message
news:eg**************@TK2MSFTNGP12.phx.gbl...
I'm trying to prevent a page update (postback) being cached in the browser, so if a user hits a link on page A and enters my webform page B, hits a few buttons (each of which results in a postback), and then hits Back, he is
taken back to page A.

Can this be done ?

Nov 18 '05 #2
I cant get this to work, where does this code go ?

"Saravana [MVP]" <sa******@sct.co.in.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Check out this faq,
http://www.extremeexperts.com/Net/FA...ackButton.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Jeremy" <je*************@blueyonder.co.yk> wrote in message
news:eg**************@TK2MSFTNGP12.phx.gbl...
I'm trying to prevent a page update (postback) being cached in the

browser,
so if a user hits a link on page A and enters my webform page B, hits a

few
buttons (each of which results in a postback), and then hits Back, he is
taken back to page A.

Can this be done ?


Nov 18 '05 #3
I cant get this to work, where does this code go ?

"Saravana [MVP]" <sa******@sct.co.in.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Check out this faq,
http://www.extremeexperts.com/Net/FA...ackButton.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Jeremy" <je*************@blueyonder.co.yk> wrote in message
news:eg**************@TK2MSFTNGP12.phx.gbl...
I'm trying to prevent a page update (postback) being cached in the

browser,
so if a user hits a link on page A and enters my webform page B, hits a

few
buttons (each of which results in a postback), and then hits Back, he is
taken back to page A.

Can this be done ?


Nov 18 '05 #4
You can write it page_load itself.

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"JezB" <je*************@blueyonder.co.yk> wrote in message
news:eN**************@TK2MSFTNGP09.phx.gbl...
I cant get this to work, where does this code go ?

"Saravana [MVP]" <sa******@sct.co.in.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Check out this faq,
http://www.extremeexperts.com/Net/FA...ackButton.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Jeremy" <je*************@blueyonder.co.yk> wrote in message
news:eg**************@TK2MSFTNGP12.phx.gbl...
I'm trying to prevent a page update (postback) being cached in the

browser,
so if a user hits a link on page A and enters my webform page B, hits a
few
buttons (each of which results in a postback), and then hits Back, he

is taken back to page A.

Can this be done ?



Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John | last post by:
I have read somewhere else in this newsgroup that the way to avoid the message (Warning: Page has Expired blah, blah blah ... ) when one presses the back button is to place the statement...
6
by: Tom Kiefer | last post by:
Question: If I have an ASP.NET User Control which defines/exposes a property that the page can use to specify a mode or data subset for the control to use, is there a way to tell the @OutputCache...
4
by: sviau | last post by:
should cache-control be set to public or private on dynamic site. our content doesnt change for 24hrs, but because results from search pages vary so much, we cant cache the pages themselves. ...
3
by: Dennis M | last post by:
Hey everyone, I am curious what the performance impact of a custom control would be if it had a significant hierarchy of children. For example, 40 child controls, 5 levels deep, each control on...
0
by: Jeff Schaefer | last post by:
What I want to know is this: Is it possible to programmatically manipulate a custom property of a user control for which <%@ OutputCache ... > has been included? If so, then how? My brief code is...
7
by: Smithers | last post by:
I have a non trivial ASP.NET Web application that implements its navigation system via a user control (menu.ascx) placed on every page. It is important to note that the user control that hosts...
4
by: Jordan S. | last post by:
In a "standard" aspx page I can access the system cache (System.Web.Caching.Cache), like this: Cache = someObject; How can I access the same Cache from *within* a custom composite Web server...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Here is a user control on the page, how do I cache it by user? Currently I think we could put a server control for example ID:textusername in the asp.net page whose value is username, so we can...
2
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
In our application consisting of several custom user controls we want one of these controls to be excluded from the page cache. For this I tried to use the substitution control for output cache...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.