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 ? 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 ?
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 ?
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 ?
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 ?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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.
...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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...
| |