On 12 September 2012 10:15, Avi <[email protected]> wrote:
> Hello,
>
> I have a page. In that I am showing dropdown list. According to the values I
> am viewing the tables.
> When I am selecting values from the dropdown, it renders a table & views it.
> Everything is happening on client side. When I refresh the page, it goes to
> the fist value in the dropdown (rather I should be in the last selected
> dropdown value).
> How can I manage this in client side session ?

I don't understand what you mean by client side session.  If you mean
how to use the session variable in rails then have a look at the Rails
Guide on Active Controller, it has a section of the use of the session
variable.

While you are at it work through all the other guides, they will
answer many of your questions.

Also work right through a tutorial such as railstutorial.org which
will introduce you to the basics of Rails.

Colin

>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/A3UN_4p1wN8J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to