[Rails] Re: How to pass javascript variable value to a Session Variable in javascript

2009-03-19 Thread Shripad
Hi Starr, Thank u for ur nice reply. I have done the first part what u have mentioned by using "document.cookie". I am new to XMLHttpRequest(XHR) will you please guide me a little more on this with example. I have following code written in javascript var selObj = document.getElementById('zone')

[Rails] Re: How to pass javascript variable value to a Session Variable in javascript

2009-03-19 Thread Shripad
Hi Starr, Thank u for ur nice reply. I have done the first part what u have mentioned by using "document.cookie". I am new to XMLHttpRequest(XHR) will you please guide me a little more on this with example. I have following code written in javascript var selObj = document.getElementById('zone')

[Rails] Re: How to pass javascript variable value to a Session Variable in javascript

2009-03-19 Thread Starr Horne
> 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' actua