Valentino Lun wrote:
Dear all
Can rails reset session if user click the back button in browser?
say, 1. go to 应用宝官网-全网最新最热手机应用游戏下载 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....
Valentino
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