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.
449d84cde181c45885fbe3ec2e485d97?d=identicon&s=25 Dhiraj Mundada (dhirajmundada)
on 2007-01-23 08: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!!!!

91308e9bc88cb069fd1bcf88e910d042?d=identicon&s=25 Nick Snels (nicksnels)
on 2007-01-23 10: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 Snels
Compare and review Rails hosting
This topic is locked and can not be replied to.