On Wed, Jun 1, 2011 at 12:14 PM, News Aanad <[email protected]> wrote:
> Hi, > I have observe Facebook and Gmail that when we logged out it redirects us > to the login page, but the interesting is that when we hit back button it > still not go to inbox page. > I have search in google and got something to set attribute "Cache-control" > in header. > But I don't know how can we implement this mechanism in Rails. > Can anybody suggest me how to do that? > > The step by steps are in the answer. http://stackoverflow.com/questions/711418/how-to-prevent-browser-page-caching-in-rails B. -- 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.

