Re: [Rails] how to prevent the user from accessing the app.after logout with back button(rails only)

2012-05-10 Thread Michael Pavling
On 10 May 2012 08:46, hanish jadala wrote: > 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. It's not

Re: [Rails] how to prevent the user from accessing the app.after logout with back button(rails only)

2012-05-10 Thread hanish jadala
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 wrote: >

Re: [Rails] how to prevent the user from accessing the app.after logout with back button(rails only)

2012-05-10 Thread Michael Pavling
On 10 May 2012 07:54, honey ruby 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-cachi

[Rails] how to prevent the user from accessing the app.after logout with back button(rails only)

2012-05-09 Thread honey ruby
hi all after logging out of my site if i click back button it is going back to my app. how can i restrict this problem i have use before_filter also. thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this grou