The page shown is the page cached in the browser.

To make sure, run "tail -f log/development.log" on a shell, and verify that
Rails has not received a request.

However, if you click a link on the "old page", Rails should redirect you to
the login action (or equivalent).

Raul


On Wed, Dec 10, 2008 at 2:19 PM, Jack <[EMAIL PROTECTED]> wrote:

>
> 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-programming-with-passion" group.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to