Multiple pages and sessions

Hi all,

I am trying to create multiple html pages and in every page i have some
form tag. The problem is, I don’t know how to save it temporarily in the
sessions and later on save everything to the database at one go at the
end of the submission.

Another thing is that, it confuses me how to still keep the data in the
sessions and let the user logging in before I save their submission.

Any idea how?

Thanks in advance.