After a user logs out, if they hit the back button, they can go back to the last page they were on before logging out.
The app I am working on will often be used on a public computer (library or computer lab, for example) and I'd like to prevent users from being able to see anything from previous user sessions.
I'm on Rails 3 and Devise, btw, although it seems that this issue would come up with any framework or login mechanism.
Is the solution to use headers/meta-tags to disable browser-caching? Anybody know of a gem or tutorial that addresses this issue?
Look forward to your advice.