Hi everybody, I'm pretty new in rails so I've been "playing" programming simple app one of the was an app with a login and session management. Up to here, everything is pretty smooth, as rails; but I have a question that I can solve, that's why I'm writing to the group. Is there a way to catch the browser close event? I want it to end the users session, because if the user close the browser and try to sign in, I get the "user already logged" message.
I hope someone can help me! Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---