hi friends... here is my query.... kindly give ur views pls... after logging into the application,i redirect to company list page.now when user clicks the browser back button it should show the login page.that is i want to destroy the session.so in my login controller i have written code below. def log_in if request.get? reset_session end end
in my routes.rb map.root :controller => "login",:action => "log_in" but when i click browser back button it shows login page but it doesnot go to the log_in action. Any helps .... Thanks a bunch