Hi,
     I'm trying to destroy session when user clicks logout in
rails....Here is the code:

def logout
    reset_session
    redirect_to
CASClient::Frameworks::Rails::Filter.client.logout_url
(request.referer, url_for (:controller => 'site', :action =>
'myportal'))
end

However, when I click the back button, it shows me the page with all
information. If the session is destroyed, it should not display the
page, right?

What could be the issue?

Appreciate any help!!

Thanks!

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to