Forum: Ruby on Rails Forms Using Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
449d84cde181c45885fbe3ec2e485d97?d=identicon&s=25 Dhiraj Mundada (dhirajmundada)
on 2007-01-23 08:53
Hi,
I want to send parameters from one page to another page.
eg...
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!!!!

Thanks...
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
http://www.railshostinginfo.com
Compare and review Rails hosting
This topic is locked and can not be replied to.