Monday 15 March 2010

ruby on rails - Store form parameters between two pages? -


I have a form that is displayed in two pages. Page A and Page B

The form works properly and posts correctly using GET on the current page.

However, when I am on page A, submit the form, and Page B does not contain page values ​​because params have not been posted for it.

Should I use the session to keep my search form parameters from Page A and set them on the page when this B is loading?

The best way to go about this is either in session (if it is too small) Or in hidden areas (if it has a lot of content for a lot of content).

No comments:

Post a Comment