Hi all,
I want to call a method present in ROR controller in my javascript for
performing some logout activities. How can I do this
Please help me
Thanks and regards,
Hi all,
I want to call a method present in ROR controller in my javascript for
performing some logout activities. How can I do this
Please help me
Thanks and regards,
On Jun 28, 4:59 am, Shripad [email protected] wrote:
Hi all,
I want to call a method present in ROR controller in my javascript for
performing some logout activities. How can I do this
Please help me
Use an ajax request (lookup link_to_remote, remote_function etc…)
Fred
On Jun 28, 5:14 pm, Frederick C. [email protected]
wrote:
On Jun 28, 4:59 am, Shripad [email protected] wrote:> Hi all,
I want to call a method present in ROR controller in my javascript for
performing some logout activities. How can I do this
Please help meUse an ajax request (lookup link_to_remote, remote_function etc…)
Fr
ed
hi,
thanks for your urgent reply Frederick
but, i don’t know how to use ajax for the same,
will u please give me details abt this.
Thanks and regards,
Shripad
On 29 Jun 2008, at 08:10, Shripad wrote:
performing some logout activities. How can I do this
but, i don’t know how to use ajax for the same,
will u please give me details abt this.
Read the API docs for the funcions I listed.
Fred
Hi,
I have implemented the methods u listed, but it is still not solved my
purpose
what I want to do is, when user close the browser the user should be
loged out
but it is not doing that.
will you please suggest me a solution.
Thanks and Regards
Shripad
On Jun 29, 6:39 pm, Frederick C. [email protected]
On Jun 30, 5:31 am, Shripad [email protected] wrote:
Hi,
I have implemented the methods u listed, but it is still not solved my
purposewhat I want to do is, when user close the browser the user should be
loged out
but it is not doing that.
Could have saved everyone some time if you’d said that to begin with.
There is window.onclose, although you can’t be 100% sure it will be
called (eg browser crashes, user loses network connection etc…)
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs