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,
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.