I have a series of .asp pages that a user goes through to <I guess the
purpose really doesn't matter>.
On each page I have Response.Expire s = 0 (which I understand to mean "do not
cache this page")
On PageInQuestion. asp (in the middle of the series) I use asp code to
generate a <select> box with numerous <option>'s, four <a>'s, and an <input
type=input> (this will become hidden when site is put in production). I read
some fields from a SQL server table to figure out what <option>'s to put in
the <select> AND what order.
The purpose of the <select> is to hold a bunch of fields, and the 4 <a>
tag's are <img url=UpArrow.gif ... DownArrow.gif ... DoubleUpArrow.g if ...
and DoubleDownArrow .gif></a>. So, the user can click on one of the "arrow"
..gif's, to move an <option> up, down, to top, or to bottom. I rearrange the
<option> contents in the <select> box via javascript. Pretty standard stuff.
The <input type=input> contains the text "field1, field2,
field3,...,fiel dX". It is a comma-delimited string that is a list of the
entries in the <select>. As the user changes the order of the <option>'s in
the <select>, the contents of the <input> field change also i.e.
"field3,field1, field2,...field X".
As the user goes to the next page, I record any changes to the order in the
same SQL server table, based on the contents of the comma-delimited <input>
field.
So, my theory is, when the user goes to the next page and presses the Back,
since Response.Expire s = 0, the .asp should be executed again. (Is this
assumption wrong ??)
Since, at the beginning of the PageInQuestion. asp, I read the SQL table to
get the order of the <select> <option>'s, I expected the ordering of the
<option>'s to be correct.
But, when I do a Back, the <select> box is displayed with the <option>'s in
the ORIGINAL order, not the changed order. But, the <input> has the CHANGED
order. This is acting like the browser is showing the cached, original
contents of the <select>, but not the <input>
I can't see any obvious bugs in my code, but that possibility exists. I most
likely have the wrong impression about how IE works. Can anyone shed any
light onto my predicament.
Hope this makes sense...
Thanks
Mike 2 2567
This sounds like a job for aspfaq..... http://www.aspfaq.com/show.asp?id=2022
"Mike Berger" <mb************ ***@skypoint.co m> wrote in message
news:vv******** ****@corp.super news.com... I have a series of .asp pages that a user goes through to <I guess the purpose really doesn't matter>.
On each page I have Response.Expire s = 0 (which I understand to mean "do
not cache this page")
On PageInQuestion. asp (in the middle of the series) I use asp code to generate a <select> box with numerous <option>'s, four <a>'s, and an
<input type=input> (this will become hidden when site is put in production). I
read some fields from a SQL server table to figure out what <option>'s to put
in the <select> AND what order.
The purpose of the <select> is to hold a bunch of fields, and the 4 <a> tag's are <img url=UpArrow.gif ... DownArrow.gif ... DoubleUpArrow.g if ... and DoubleDownArrow .gif></a>. So, the user can click on one of the "arrow" .gif's, to move an <option> up, down, to top, or to bottom. I rearrange
the <option> contents in the <select> box via javascript. Pretty standard
stuff. The <input type=input> contains the text "field1, field2, field3,...,fiel dX". It is a comma-delimited string that is a list of the entries in the <select>. As the user changes the order of the <option>'s
in the <select>, the contents of the <input> field change also i.e. "field3,field1, field2,...field X". As the user goes to the next page, I record any changes to the order in
the same SQL server table, based on the contents of the comma-delimited
<input> field.
So, my theory is, when the user goes to the next page and presses the
Back, since Response.Expire s = 0, the .asp should be executed again. (Is this assumption wrong ??)
Since, at the beginning of the PageInQuestion. asp, I read the SQL table to get the order of the <select> <option>'s, I expected the ordering of the <option>'s to be correct.
But, when I do a Back, the <select> box is displayed with the <option>'s
in the ORIGINAL order, not the changed order. But, the <input> has the
CHANGED order. This is acting like the browser is showing the cached, original contents of the <select>, but not the <input>
I can't see any obvious bugs in my code, but that possibility exists. I
most likely have the wrong impression about how IE works. Can anyone shed any light onto my predicament.
Hope this makes sense...
Thanks Mike
Perfect !!!! Thanks Tom. A nice succinct answer to a long-winded
question.... :-)
Mike
"TomB" <sh*****@hotmai lXXX.com> wrote in message
news:Os******** ******@TK2MSFTN GP12.phx.gbl... This sounds like a job for aspfaq..... http://www.aspfaq.com/show.asp?id=2022
"Mike Berger" <mb************ ***@skypoint.co m> wrote in message news:vv******** ****@corp.super news.com... I have a series of .asp pages that a user goes through to <I guess the purpose really doesn't matter>.
On each page I have Response.Expire s = 0 (which I understand to mean "do not cache this page")
On PageInQuestion. asp (in the middle of the series) I use asp code to generate a <select> box with numerous <option>'s, four <a>'s, and an <input type=input> (this will become hidden when site is put in production). I read some fields from a SQL server table to figure out what <option>'s to put in the <select> AND what order.
The purpose of the <select> is to hold a bunch of fields, and the 4 <a> tag's are <img url=UpArrow.gif ... DownArrow.gif ... DoubleUpArrow.g if
.... and DoubleDownArrow .gif></a>. So, the user can click on one of the
"arrow" .gif's, to move an <option> up, down, to top, or to bottom. I rearrange the <option> contents in the <select> box via javascript. Pretty standard stuff. The <input type=input> contains the text "field1, field2, field3,...,fiel dX". It is a comma-delimited string that is a list of the entries in the <select>. As the user changes the order of the <option>'s
in the <select>, the contents of the <input> field change also i.e. "field3,field1, field2,...field X". As the user goes to the next page, I record any changes to the order in the same SQL server table, based on the contents of the comma-delimited <input> field.
So, my theory is, when the user goes to the next page and presses the Back, since Response.Expire s = 0, the .asp should be executed again. (Is this assumption wrong ??)
Since, at the beginning of the PageInQuestion. asp, I read the SQL table
to get the order of the <select> <option>'s, I expected the ordering of the <option>'s to be correct.
But, when I do a Back, the <select> box is displayed with the <option>'s in the ORIGINAL order, not the changed order. But, the <input> has the CHANGED order. This is acting like the browser is showing the cached, original contents of the <select>, but not the <input>
I can't see any obvious bugs in my code, but that possibility exists. I most likely have the wrong impression about how IE works. Can anyone shed any light onto my predicament.
Hope this makes sense...
Thanks Mike
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ralph Freshour |
last post by:
Is it possible to inhibit the browser Back/Fwd buttons via PHP?
Thanks...
|
by: Tony Marston |
last post by:
If the use of the browser's BACK button is interfering with the operation of
your web application then take a look at this article entitle "Back Button
Blues"
http://www.tonymarston.co.uk/php-mysql/backbuttonblues.html
--
Tony Marston
http://www.tonymarston.net
|
by: zdrakec |
last post by:
Hello all:
I note in my application, that when I use
Server.Transfer("somepage.aspx"), when the new page is loaded, and I
click the Back button on the browser, that the previous page, when it
displays, does not appear to have its Page_Load event fire. Neither
does the page which I am leaving have its Page_Unload event fire.
Additionally, there is a listbox on the first page that is populated
based on user-selected values. This...
|
by: Shimon Sim |
last post by:
Hi
Is it possible to make sure that the page doesn't show in browser history
and won't effect Back button.
The problem is that every postback shows as another entry for "Back" button
and user goes through the hole history of postbacks if she wants to get to
previous page.
Thank you,
Shimon
|
by: Liming |
last post by:
Hi,
I have a multiview (with 10 views inside). Now on View2, I ask the
user to uplaod a file and click Save to go to View3 and once they get
to view3? If the user hits my "previous" button, View2 needs to display
the filename of the uplaoded file.
Here is the problem.
1. In Firefox 1.5, in view3, if the user clicks "browser back" instead
| |
by: ns21 |
last post by:
How can the browser back button be disabled If the form is submitting
information to other pages or submitting to itself or using
redirections.
I tried the tweaks like history.forward(1) in each page to prevent user
to navigate back but its not very effective.
The server side scripting is done using ASP.
you may ask that why at first place I want to disable the browser back
|
by: tshad |
last post by:
I was looking for a way to handle refreshes (user pressed refresh button)
and found a piece of code to check if a Web page was refreshed but I can't
get it to work.
The code is:
************************************************************
Namespace StevenBey.Web.UI
Public Class Page
Inherits System.Web.UI.Page
|
by: hemant.singh |
last post by:
Hi all,
I am trying to get a way by which I'll know exactly when user goes out
of my site by clicking on close button in browser, So that w/e user
click close button in browser, I can send a signal to server.
This seems to be achievable with body unload events, but it is little
too much, as even if user navigate within my site, this event will be
generated, this can be avoided by handling onclick of each link, so
that I'll know exactly...
|
by: toeffetommy |
last post by:
Hello,
I need a piece of functionality developed for our Website and I need some technical advice on how get there.
Essentially, what I want to develop is a browser-within-browser functionality where the ‘mini-browser’ has similar functionality to a normal browser.
Let me explain:
Firstly, our website interface will open up in a popup window. All the normal browser toolbars and buttons have been removed from the popup window. It’s...
|
by: Randy |
last post by:
I have an application with a datagrid and a button to export the grid
to excel. For the most part this is working fine. Here's the export
method:
Private Sub btnExcel_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnExcel.Click
Try
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |