473,804 Members | 2,292 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

question about the IE BACK Button

We have an InterNet Application that does not use cookies, session
variables, persistant cookies etc. But we collect the information on
multiple forms (about 6 steps). Also we cannot count the entry as a
submittal until the 4th page is submitted. So we need to carry the values
from 1 thru 4 pages. And also based on the information the user provides on
page 1 we have to display different pages. This happens all the way from
page 1 thru 4.

What are the ways we can preserve the inputs until page 4? We wanted to use
hidden values but when the form is submitted we need to query the DB and
decide which page to display. So we cannot use Javascript to post the form.
We created another form in each page and have hidden variables in it. Once
the DB is queried we take the value from the main form and put it in the
hidden variables of the second form and submit that form. The problem with
this is when the user clicks on the back button the previous page's ONLoad
event is triggered and the user is automatically transferred to the page
from where he clicked the back button.

Any ideas how to solve this? We are thinking of using some temporary table
and store the data collected in each page and at the end copy the data from
the temp table to the main table. But we are looking at other easy options.
This is an urgent issue. please give me your ideas.

tia
Nov 18 '05 #1
1 1076
Any ideas please? Runing out of time.
"Developer" <De*******@Deve loper.net> wrote in message
news:OI******** ******@TK2MSFTN GP12.phx.gbl...
We have an InterNet Application that does not use cookies, session
variables, persistant cookies etc. But we collect the information on
multiple forms (about 6 steps). Also we cannot count the entry as a
submittal until the 4th page is submitted. So we need to carry the values
from 1 thru 4 pages. And also based on the information the user provides on page 1 we have to display different pages. This happens all the way from
page 1 thru 4.

What are the ways we can preserve the inputs until page 4? We wanted to use hidden values but when the form is submitted we need to query the DB and
decide which page to display. So we cannot use Javascript to post the form. We created another form in each page and have hidden variables in it. Once
the DB is queried we take the value from the main form and put it in the
hidden variables of the second form and submit that form. The problem with
this is when the user clicks on the back button the previous page's ONLoad
event is triggered and the user is automatically transferred to the page
from where he clicked the back button.

Any ideas how to solve this? We are thinking of using some temporary table
and store the data collected in each page and at the end copy the data from the temp table to the main table. But we are looking at other easy options. This is an urgent issue. please give me your ideas.

tia

Nov 18 '05 #2

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

Similar topics

0
1943
by: Franco Gustavo | last post by:
Hi I have a Architecture question. (Put the text on courier new font to understand the graphic) Imagine that you have the next objects: A = Form B = Panel C = ButtonEx inherit from Button D = BUtton
2
8407
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when submitting the form to update the database. The server doesn't have the client side value any more. It seems to me that as I begin to write the client side javacript code for form validation and client side editing capabilities in order to save...
12
10176
by: VB Programmer | last post by:
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...
5
1829
by: John | last post by:
Hi, I have an asp.net form where if the user enters an incorect date I change the color of the textbox to red and also display a label field with a message saying the date is invalid. What I would like to do is to have some way to trap the event where the user changes the date and reset the color of the textbox to white and change the error lablel to hidden. I want to do this before the page gets submitted back to the server so I've...
6
1647
by: David | last post by:
A user logs into a web site. He is then redirected to a web page of his choosing - based on menu options - for example: "WeeklyReport.aspx" is a page the user is currently viewing If the user session times out, I redirect the user to a "logoff.aspx" web page that now informs the user he must relogin to the web site Question: Is there anyway to clear the browser's history list (prior to Response.Redirect("logoff.aspx") - to ensure the user...
3
3105
by: Brian Henry | last post by:
I have two list boxes on my form... lstCanSend and lstRecipients... well then there are two buttons add and remove between them (your basic select and pick listing) which uses java script to move the items between list boxes (the listbox controls are server side ones with runat=server set on them, the buttons are basic html button i dont want to post back each time someone clicks on add or remove... that wastes time and bandwidth) well the...
2
1111
by: Ed | last post by:
I'm rather new to ASP .Net, so I appologize in advance if I'm asking a dumb question here. I've been searching all over the place for an answer and haven't found a single one. I'm working on a form that gives the user a file control to upload a file from their machine to my server. With this file control are two buttons; one marked "Upload", the other marked "Cancel". The cancel button is to give them the option of just backing out...
5
1492
by: Phillip N Rounds | last post by:
I have a webform ( ASP.NET 1.1, CodeBehinde = C#). The user selects an address item from a dropdown list box. The details of the address then populate appropriate text boxes. Each textbox has an OnTextChange(), which serves several (necessary) purposes. One of these is that if there is a change in the textbox entry, a button 'Save Address' appears. When the user makes changes to only one textbox, the 'Save Address' button appears...
1
1282
by: BillG | last post by:
I am developing a business app using asp.net that will have 2 different types of forms, a list view of data and then a detail view. The list views are placed on a content panel in a master page. The user can then click an Add button or edit button to add or modify an item in the list. My question is what is the best way to handle a detail form? Should the detail form appear in place of the list view in the content panel of the master...
0
1019
by: Lance Wynn | last post by:
I recently had a problem where an ASP:Button on a webform was initiating an unwanted postback (I had onClientClick set to a function, and assumed that would override the postback.). I solved this by adding ;return null; to the onClientClick call, and it stopped the postback. Now, there were 2 other aspx pages that I *thought* I'd need to change as well. One of them was in fact doing the postback, and one of them was not, for all...
0
9591
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,...
0
10594
Oralloy
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...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9166
agi2029
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...
0
6861
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();...
0
5529
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...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.