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
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to