Wednesday, September 12, 2012

Re: [Rails] Session in client side

On Wed, Sep 12, 2012 at 3:03 AM, Avi <aavinash.behera@gmail.com> wrote:

> $("#user_registration").show();
> // Default I am setting to this on coming to this page. How can I change this ?

1) set the value on the server on select and get it back on page reload
2) save it to a cookie
3) save it to HTML5 Local Storage

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate