Valentino Lun wrote: > Dear all > > Can rails reset session if user click the back button in browser? > > say, > 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.... > > 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 http://blog.httpwatch.com/2008/10/15/two-important-differences-between-firefox-and-ie-caching/ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

