I don't think you'll be able to do that. I am assuming that you mean the user being able to kill the application. Remember that the user will probably be removed from the server that runs Rails and he/she won't have access to it. That access is only available through the browser.
The only way that you'll be able to do something like that will be to provide a Logout link or something like that and make it available through a main layout so it's present in all views. If what you want to do is to be able to stop the session from the server itself you'll have to figure out who the user is that you want to end the session for and have a way of managing the sessions for all users (database store?), then you could kill the session any way you want (removing data from the DB for the session?). That won't buy you much, though, if the user can still Login and keep going. On Oct 14, 4:01 am, Damjan Rems <[email protected]> wrote: > Is the kill from outside application the only solution? > > by > TheR > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---

