thanks for your reply i have added your code and i checked it. if i click
back button after logout it is still going back to app but it is give me
the error "

undefined method `username' for nil:NilClass" it shows it going back to app.


On Thu, May 10, 2012 at 12:53 PM, Michael Pavling <pavl...@gmail.com> wrote:

> On 10 May 2012 07:54, honey ruby <emailtohoneyr...@gmail.com> wrote:
> > after logging out of my site if i click back button it is going back
> > how can i restrict this problem
>
> It's a browser caching issue, so you need to tell the browser not to cache.
>
>
> http://stackoverflow.com/questions/711418/how-to-prevent-browser-page-caching-in-rails
>
> --
> 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 rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to