I have 2 asp pages, the first displays a drop down which it's source is from a db, user picks a value, submits to the next page. Currently if the user hits back picks a different value and submits again, the same original value is submitted again, not the newly select value...I see lots of things talking about caching, wondering if there is something I can do so if the user goes back, using their back button, that if they select the new value and resubmit, that the new value is used and not the original value, I may have said that in a very long winded way, just wanted to be clear...tia if you have advice. 4 1103
Put this line of code on the top of your page. It makes thet the browser
not cache this page
<%Response.Expires = -1000 %>
greets
Keon
"Chris Patten" <an*******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com... I have 2 asp pages, the first displays a drop down which it's source is
from a db, user picks a value, submits to the next page. Currently if the
user hits back picks a different value and submits again, the same original
value is submitted again, not the newly select value...I see lots of things
talking about caching, wondering if there is something I can do so if the
user goes back, using their back button, that if they select the new value
and resubmit, that the new value is used and not the original value, I may
have said that in a very long winded way, just wanted to be clear...tia if
you have advice. http://www.aspfaq.com/2022
-- http://www.aspfaq.com/
(Reverse address to reply.)
"Chris Patten" <an*******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com... I have 2 asp pages, the first displays a drop down which it's source is
from a db, user picks a value, submits to the next page. Currently if the
user hits back picks a different value and submits again, the same original
value is submitted again, not the newly select value...I see lots of things
talking about caching, wondering if there is something I can do so if the
user goes back, using their back button, that if they select the new value
and resubmit, that the new value is used and not the original value, I may
have said that in a very long winded way, just wanted to be clear...tia if
you have advice.
FYI... that line alone won't cover all browsers and all settings.
-- http://www.aspfaq.com/
(Reverse address to reply.)
"Keon" <ko*********@advalvas.be> wrote in message
news:vD**********************@phobos.telenet-ops.be... Put this line of code on the top of your page. It makes thet the browser not cache this page
<%Response.Expires = -1000 %>
greets Keon
"Chris Patten" <an*******@discussions.microsoft.com> wrote in message news:A3**********************************@microsof t.com... I have 2 asp pages, the first displays a drop down which it's source is from a db, user picks a value, submits to the next page. Currently if the user hits back picks a different value and submits again, the same
original value is submitted again, not the newly select value...I see lots of
things talking about caching, wondering if there is something I can do so if the user goes back, using their back button, that if they select the new value and resubmit, that the new value is used and not the original value, I may have said that in a very long winded way, just wanted to be clear...tia if you have advice.
http://support.microsoft.com/default...b;EN-US;234067 http://support.microsoft.com/default...311006&sd=tech
::more:: http://www.google.ca/search?hl=en&lr...nt+caching+asp
Chris Patten wrote: I have 2 asp pages, the first displays a drop down which it's source is from a db, user picks a value, submits to the next page. Currently if the user hits back picks a different value and submits again, the same original value is submitted again, not the newly select value...I see lots of things talking about caching, wondering if there is something I can do so if the user goes back, using their back button, that if they select the new value and resubmit, that the new value is used and not the original value, I may have said that in a very long winded way, just wanted to be clear...tia if you have advice. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: kevin |
last post by:
Could someone explain, Caching.
I understand Caching as simply saving a copy of something that is unlikely
to change and to which you frequently refer as opposed to retrieving a fresh
copy every...
|
by: R. Ian Lee |
last post by:
I have an ASP.NET page that spawns a popup window using
javascript's window.open. This works fine. It pops up,
you enter some data, press save and everything saves as
it should. But, if you...
|
by: moondaddy |
last post by:
I have a site where I have only one page and lots of user controls. Rather
than passing parameters into the page (mysite/default.aspx?MenuID=123), I
pass in a url like this...
|
by: Gavin Pollock |
last post by:
Is anyone using Caching (HttpRuntime.Cache) in Whidbey? Not sure if there's
another newsgroup for this though since it's still beta....
I'm having issues running a system built on 1.1 in a 2.0...
|
by: gavkel |
last post by:
We are building a system with ASP.NET. Currently running
through the optimisation of the system using different caching
mechanisms. Were using Linux LBS for load balancing - this does not
employ...
|
by: Kevin Burrowes |
last post by:
I need to implement caching for a large enterprise application and we are
planning to use the newest Caching Application Blocks. (Enterprise Library
Jan. 2006)
We want to cache Business Entities...
|
by: Henrik Dahl |
last post by:
Hello!
In my application I have a need for using a regular expression now and then.
Often the same regular expression must be used multiple times. For
performance reasons I use the...
|
by: Gary W. Smith |
last post by:
I had a couple questions about data caching. We have a site that gets
a huge amount of traffic to a few specific pages that have a lot of
data on them (300k hits/hour during peak, about 6-10 data...
|
by: =?Utf-8?B?RGF2ZQ==?= |
last post by:
I'm using ASP.Net with an UpdatePanel. When the screen is exercised via a
Web Test, the Web Test shows that the AJAX scripts are downloaded for every
partial post back.
My impression was that...
|
by: Ken Fine |
last post by:
I have a question about ASP.NET output caching.
I want to use screen scraping as a temporary hack to pull in some complex
Classic ASP-rendered content into some ASP.NET pages:
protected String...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
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: 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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |