Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advice seeking - carrying infor from page to page

Status
Not open for further replies.

Theseekers

Technical User
Jul 22, 2004
118
US
Hi Tekers,

I am developing a few forms for a medical research projects and would like to know how other users are doing this for this type of project.

On these forms, I will have to carry information (or some of it) to the subsequence forms. Currently, I am putting in lots of hidden fields in these forms in order to get to previous captured info from the current form. Is this the right approach for this type of project or simply you would use session variables carry them forward? (and possible backward when user hit the back arrow). Which is the recommended method???

If any of you have gone down this path before, would you please share your thoughts with me (and for others) on this so I can approach this in the right direction.

TIA
 
I think session variables is the easiest way to do it, but if you are to use session variables for non-vital data, I would force the SID, in case the person has a paranoid firewall and does not accept the SID-cookie.

eg:
<form action="foo.php?<?=SID?>" method="post">

Olav Alexander Mjelde
Admin & Webmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top