Session not getting destroyed on Logout

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!

Your browser's cache

Fred

If I want to redirect the user back to the login page when back is
hit, what code do I need to put in?

Thanks!

Maybe a before_filter on the controller for your page that checks to see
if the user is logged in, and if not, routes them to the login page?

If I want to redirect the user back to the login page when back is
hit, what code do I need to put in?

The problem you might find is that your server isn't hit at all. The
browser just pulls up its cached copy of the page.

Fred