473,805 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pls sugg. how to know that the form is coming back to the same form

hi,

whats happening is i do a form post from a form "A", to a form "B" where
it does some processing and then does a form.redirect to form "C"..where
there is a link to the form "A". I only want that when the user selects
form "A" from form "C" then at least i should be able to display his
name and email address what he had entered previously.
what the best way to save the variables and when i display back in the
form how do know whether hte form is coming back or not???

pls do suggest.
thanks a lot

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 22 '05 #1
2 1341
Put some indicator, or the values, into the QueryString, or prefereably a
Session variable, then check for it in Page A

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"VbUser25" <mo************ **@YAHOO.com> wrote in message
news:O6******** ******@TK2MSFTN GP10.phx.gbl...
hi,

whats happening is i do a form post from a form "A", to a form "B" where
it does some processing and then does a form.redirect to form "C"..where
there is a link to the form "A". I only want that when the user selects
form "A" from form "C" then at least i should be able to display his
name and email address what he had entered previously.
what the best way to save the variables and when i display back in the
form how do know whether hte form is coming back or not???

pls do suggest.
thanks a lot

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 22 '05 #2
'// Page A
strName = Request.Queryst ring("n")
strMail = Replace(Request .Querystring("e "), "[AT ]", "@")

Then for your fields;

<input type="text" value="<%=strNa me%>" name="txtName">
<input type="text" value="<%=strMa il%>" name="txtMail">

'// Page C
Response.Redire ct "http://someurl.com/somepage.asp?n= " & strName & "&e=" &
strMail

Obviously, you would replace strName and strMail in page C with the string
name's you are using to hold those details.

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"VbUser25" <mo************ **@YAHOO.com> wrote in message
news:O6******** ******@TK2MSFTN GP10.phx.gbl...
hi,

whats happening is i do a form post from a form "A", to a form "B" where
it does some processing and then does a form.redirect to form "C"..where
there is a link to the form "A". I only want that when the user selects
form "A" from form "C" then at least i should be able to display his
name and email address what he had entered previously.
what the best way to save the variables and when i display back in the
form how do know whether hte form is coming back or not???

pls do suggest.
thanks a lot

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 22 '05 #3

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

Similar topics

2
1747
by: Bad Little Kyle | last post by:
Yes, I'm back with one more question, but it's probably really simple for you guys! Recently I spent time creating a web-based form for our company so that a customer can input all of his own information and set up how he wants his/her stamp to look, then it will be sent to us via e-mail so we can then look it over and determine what the final cost would be. But there's only one little problem. When the customer inputs his e-mail...
2
3091
by: Citoyen du Monde | last post by:
Trying to get some ideas on a simple javascript project (to teach myself the language). I want to develop a client-side vocabulary practice application that would allow users to enter their own words, their own definitions plus an example of how the word is used in practice. It'll be all client side with - cookies? to get persistence so that the words won't disappear on me each time the page is closed (which is what happened when I
4
428
by: David | last post by:
I have trying to have a webform inherit controls from another form and can't get it to work Say I have a form that saves the person's demographic info. ****one.aspx**** //I have an object to save the person's name in code behind protected void SavePersonInfo(Person p)
2
2914
by: pv | last post by:
Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public users). If user is from intranet, web server should recognize it and application should create additional options in controls regarding groups the user belongs to. If user is from extranet it should be logged in as anonymous and a link to login page...
8
3535
by: chris_fieldhouse | last post by:
Hi fairly new to php, but picking it up quite well. the question I have, is it possible for a php script which is used to validate values submitted in a form, to then post these values onto another script/page or even back to the calling form? i.e. the application I have in question is a login.htm page with a verify.php script The login.htm has a Form which captures login_id and password which are posted to verify.php
3
1436
by: sajin | last post by:
Hi All, I developed a windows form application which shows initial form which contain many labels , datagridview and List View etc . I show the thumbnail view of the word templates in the list view , when i double click in the thumbnail view ,the templates open in word , but when i close the word and i go back to my form , all the controls are becoming white space ( meaning its getting crashed ) How can i prevent this problem , am i...
19
3309
by: klenwell | last post by:
Another request for comments here. I'd like to accomplish something like the scheme outlined at this page here: http://tinyurl.com/3dtcdr In a nutshell, the form uses javascript to hash (md5) the password field using a random one-time salt (nonce) -- generated by php and pasted in the form -- that is then posted with the hashed password
1
4560
by: IframeLearner | last post by:
Hi , I am trying to upload a file from a parent.jsp using Iframes. From Parent page. I have to save Subject, Desc, File and file name. to upload the file i am using Iframe. I want the iframe to save file in the Db and come back to parent page with file name in the form of the parent , so that i can save the parent after updaing other details. I am able to save the file in the DB and come back to parent page. While coming back...
2
1963
by: daveh551 | last post by:
I'm a little confused about something. I have a "Contact Us" page that I'm developing that runs within a content page under a master page. I was plagiarizing fairly liberally from some other pages that I had seen that worked, so I ended up with a <formelement containing a number of text boxes, and a submit button. In the codebehind for the button click event, where I went to
0
9596
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
10613
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
10363
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...
0
10107
tracyyun
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...
0
9186
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...
1
7649
isladogs
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...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
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
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.