Forum: Ruby on Rails session expire

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
dhaval (Guest)
on 2007-05-21 15:28
Hello

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

thanks

dhaval
This topic is locked and can not be replied to.