on the first page, what is the action of the form?
Does it post to itself?
or post to the second page?
if it posts to the second page, the code to set the session will need to be on that page.
remember, rule #1 when working with forms:
All form processing must occur on the forms action page.
In the future, though, if you asking about how to do something and you have already tried the correct method, include that information in the question.
your question really isn't:
How to store the form in a session, which is what you led off with, but rather:
I'm trying to store it in a session, but it doesn't work...