> Can any one tell me, how can I Pass a javascript variable value to a > ROR session variale in javascript.
You can either: 1) Set a cookie in JS and have your rails app read the cookie. If you're using not using DB-backed sessions, this may be sufficient. You may not need to use rails' actual sessions mechanism. 2) Have your JS do an XHR request to a special controller action which will save your data to the session. -- Starr Horne Check out my Helpdesk RailsKit: http://railskits.com/helpdesk/ --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---