Forum: Ruby on Rails Forms Using Rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dhiraj M. (Guest)
on 2007-01-23 09:53
I want to send parameters from one page to another page.
I have a Login window, in which I ask for username and password....
I want to pass these values to some other page, where I can use them to
retrieve some row from database....
But I don't know how to make use of these fields in second form????

Can anybody please help me out!!!!

Nick S. (Guest)
on 2007-01-23 11:54
The easiest way is to store them in session variables, like
session[:username]=params[:username]. That way you can access them in
another page.

Kind regards,

Nick S.
Compare and review Rails hosting
This topic is locked and can not be replied to.