Session expire


I want the code to expire the session when i close the browser.

is it possible to call an action from a controller from java script?

If not then wat code can be written to expire session when the user
closes the browser window.

Pls reply



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs