|
 |
asp_web_howto thread: Useing information from a form and saving it to another page
Message #1 by "Joshua Ballew" <Jaballew@h...> on Wed, 16 May 2001 03:53:37
|
|
I saw a site where there was a from and when on page x.asp, when you
filled in this text area and hit submit it returned to page x.asp with the
typed information still inside the text area. Below was a link to page
y.asp and when you clicked on the link, the page came up with the
information that was in the textarea. when you close your browser or
refresh it and then tpyed in www.domain.com/y.asp the information from
the text are was still there and it remains there until some one hits
submit on page x.asp. How is this done?
Message #2 by "Daniel O'Dorisio" <dodorisio@h...> on Thu, 17 May 2001 09:29:05 -0400
|
|
they probally used cookies... and a db
when you click the submit button, it adds the data to a database and then
passes the recordid back yo your browser and stored it in a cookie.. in that
cookie or in the db it also says that this hasnt been submitted on the y
page yet.
so whenever you come back to the site.. it does a Request.cookie and checks
to see if you have entered any data and if so if it has not been submitted
on y.asp yet and if not it will write it out in the text area..
does this make since??
daniel
-----Original Message-----
From: Joshua Ballew [mailto:Jaballew@h...]
Sent: Wednesday, May 16, 2001 3:54 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Useing information from a form and saving it to
another page
I saw a site where there was a from and when on page x.asp, when you
filled in this text area and hit submit it returned to page x.asp with the
typed information still inside the text area. Below was a link to page
y.asp and when you clicked on the link, the page came up with the
information that was in the textarea. when you close your browser or
refresh it and then tpyed in www.domain.com/y.asp the information from
the text are was still there and it remains there until some one hits
submit on page x.asp. How is this done?
|
|
 |