473,320 Members | 1,859 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,320 software developers and data experts.

Remembering entered information?

Hi there,

I have an .aspx page which I use to gather various pieces of information
from the user. One of the fields is a free text field for address or
optionally the user can type in a postcode (zip code) and a lookup is done
against an address database. I then redirect the user to another page, to
select their address. Now, once they have selected the address, how do I
redirect them back to the original page with the selected address and have
all the previously entered information back again. At the moment when I
redirect the user back to the original page, all the values are cleared.

How do I overcome this, do I have to store session variables for each field
and repopulate when I return? Or is their an easier way?

Cheers

Cammie
Nov 19 '05 #1
1 900
"=?Utf-8?B?Q2FtbWllIFdhdHNvbg==?=" <cw*****@pkc.gov.uk.(donotspam)>
wrote in news:32**********************************@microsof t.com:
How do I overcome this, do I have to store session variables for each
field and repopulate when I return? Or is their an easier way?


You can store objects in session variables, so you could store an object
with multiple properties to store the values of all the fields.

You could use the query string to pass some of the items back and forth.

Pop up? Rather than redirect to a different page... maybe use a popup?

Also take a look at HTTPContext.Items - it allows you to pass variables
between pages during a Server.Transfer (but not a response.redirect).

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #2

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

Similar topics

1
by: CharitiesOnline.co.uk | last post by:
Hello people, once again I am here to ask you for your help. This time I am working on an online shop for a hospice, I am trying to set up a page which gathers an order from a shopping cart, (this...
18
by: | last post by:
Please help. After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff. What I...
1
by: MJC | last post by:
Hi all, I have inheireted a database with no primary key and need to determine the order in which the records were entered. The table in question contains assessments and they are linked to an...
3
by: almurph | last post by:
Hi, How do I make a textbox remember previously entered data? You know, like the "Address" field in the Internet Explorer browser. This remembers previously entered URLs and drops them down......
10
by: prayag.narula | last post by:
Hi there, Hey guys I am trying to develop an Intenet Explorer plugin that would save passwords and allow me to sign up for a service automatically. Now I have figured out most of the...
9
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform has the child link to the main form identity key. subform1 - Master Field: SK Child Field: TrainingMasterSK The second subform has a...
11
by: Mark | last post by:
My browser "remembers" what I typed previously in text fields and gives me a drop-list of "suggestions" as I type. I generally like this feature, but was asked to disable it for a specific text...
2
by: kickergirl | last post by:
I have a database created in Access 2000 that has one form (DataEntryfrm) with one subform (Trainingsubfrm). The main form is linked tblParticipant (no duplicates allowed) and the subform is linked...
482
by: bonneylake | last post by:
Hey Everyone, Well i am not sure if this is more of a coldfusion problem or a javscript problem. So if i asked my question in the wrong section let me know an all move it to the correct place. ...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.