bill walton wrote: > Hello Hiro, > > On Mon, 2009-03-02 at 08:04 -0800, Hiro wrote: > >> Is there a way to catch the browser close event? > > There is no reliable way to do this. > >> 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. > > Do you want closing the browser to end the user's session? Or are you > just wanting to avoid the user trying to sign in and getting an error > message when they already have a valid session and don't need to sign > in? The first is difficult. The second, easy. Let us know. > > Best regards, > Bill
Bill... I'm trying to have the user session expire on a browser close. Is there an easy way of doing that? -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

