Sessions

Hi,

How to make use of sessions for a save button. I am making use of the
save button in the following way.

I want to make use of sessions inside this save button because once, it
saves the dialog it should return to the desired url which I am going to
store inside the sessions.

Thank you

On Sun, 2008-03-23 at 12:02 +0100, Advait B. wrote:

store inside the sessions.


<% session[:some_variable] => ‘some_value’ %>

but it really doesn’t go into the ‘save’ button or if you want it to be
set when the save button is clicked, set the value inside the controller
method that handles the save action

Craig

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs