Valentino Lun wrote:
Can rails reset session if user click the back button in browser?
1. go to http://myapp.com/controller
2. Search something and display the result
3. go to http://another_server.com
4. click back button, I still can see the result in browser, but I don't
want to see the browser cache...
Any idea to implement this feature? Please advise. Million thanks....
Have you tried setting a
Cache-Control: no-cache, no-store
in your header?
Or an expires header?
or the 'varying URL' trick...
There is some (fairly aged) info at