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.
Dhiraj M. (Guest)
on 2007-01-23 09: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...
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.
http://www.railshostinginfo.com
Compare and review Rails hosting
This topic is locked and can not be replied to.