Close browser

Right now I have people login through a login page and then hit a logout
button in order to loggout. Is there a way to close a browser window
when a user logs out? Can that even be done in rails or JavaScript?
Sorry if this not a question pertaining 100% to rails. Thanks,

-S

On Sep 16, 8:28 pm, Shandy N. [email protected]
wrote:

Right now I have people login through a login page and then hit a logout
button in order to loggout. Is there a way to close a browser window
when a user logs out? Can that even be done in rails or JavaScript?
Sorry if this not a question pertaining 100% to rails. Thanks,

window.close() will close a window (however there are restrictions
about what windows scripts can close)

Fred