Page 1 of 1

How to Pass variables between pages

Posted: Wed Feb 03, 2010 5:48 am
by mariolopes
Hi
I know one way of passing variables between pages with session variables. Is the best option? How about using hidden fields in html? One question if i have one form i have to have one submit button or i can move to another page with the command header (Location....)
Thank you
mario

Re: How to Pass variables between pages

Posted: Wed Feb 03, 2010 4:30 pm
by social_experiment
I heard of the hidden field method, im just not sure how secure it is, well it depends on what you wish to send.

The form (page) has to be submitted, im not sure how headers() would work in such an instance.