I'm creating a form:

Page 1 has multiple input fields, as well as dynamic form fields (using jquery load to add additional inputs as necessary).

Page 2 reads these inputs and sets the values to a session variable (the only values I'm storing in the session are the dynamic inputs).

Now, if someone gets to this page 2 and realizes an input is incorrect, he will use back button to return to page 1. Before I put in sessions, all the information would still be there. After putting sessions in, the form returns completely blank aside from the session variables.

My simple question: is the session_start() forcing a page reload?
Furthermore: How should I get around this? Do I have to add every input to a session variable on page 2?

Thank you!

Yes you have to add every input to a session variable on page 2.
Post your code with CODE tag for more detail.

Yes you have to add every input to a session variable on page 2.
Post your code with CODE tag for more detail.

That's all I need to know -- thanks.

Plz mark thread solved..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.