"RobG" <rg***@iinet.net.auwrote in message
news:86**********************************@t1g2000p ra.googlegroups.com...
On Aug 8, 11:20 am, "Bruce A. Julseth" <julebj_nos...@bellsouth.net>
wrote:
Page A is an input data page. Before all the data input is complete, a
user
might have to call an intermediate page B. After completing page B, page B
will return the user to A. The problem. The values entered on page before
the user called page B, are lost. I "think" I read somewhere that to
preserve the values, I save use Cookies.
Is that correct?
You could save data in a cookie, then re-establish it when the user
returns to the page however it is not particularly robust.
Is there any other way?
You can manage the session at the server so that when the form is
submitted in the first place, the server remembers the values and re-
populates the form when the user returns.
You can also submit the values to the second form and keep them in
hidden fields, then submit them again when you return to the first
form.
You could make use of the new features of HTML 5 and use a client-side
database - available in Safari 3.1 and Gecko 1.9 (Fx 3.0?):
<URL:
http://www.w3.org/html/wg/html5/#sql >
--
Rob
I like both your suggestions. I know how to do the second suggestion, hidden
fields. The first one I'm not sure how to do it, off the top of my head. I
am using PHP on the serverside. so I guess I need to get the form fields to
some $_SESSION vars?
Thenks...
Bruce