#173 new
Jacky Wu

Authlogic failed to logout for unknown reason

Reported by Jacky Wu | November 13th, 2010 @ 06:48 PM


I followed the tutorial and setup an authentication using authlogic. Initially everything seems to be working. I was able to login and logout. But today, I was working on my app again, and the logout function just failed to work for unknown reason. when I click logout link, it redirect me back to the index page and it does display the message "successfully logged out," but what happen is that I still see the link logout on the index page, even though it was supposed to switch to login. What's even odd is that when I click my user profile page, I can still see all the information about the user. It seems to me that logout did not destroy the session properly. I made sure that I followed the tutorial and everything was working correctly in the beginning.

I am running rails 2.3.8. I haven't deployed anything, all these testing was done by the command script/server and run on localhost:3000

I was wondering if I could get some help about this problem. This might be something that I am missing, but I am very new to ruby on rails, that's why I don't know about alot things. Thank you very much. I really appreciate your help.

Comments and changes to this ticket

  • Jacky Wu

    Jacky Wu November 13th, 2010 @ 07:10 PM

    Some how When I rollback back my database and restart a whole new migration, things seemed to work again. I am still troubled by why does it behave like this. Could you please help me on this one?

  • tarvap

    tarvap October 2nd, 2019 @ 08:34 AM

    Logic of the project and light house is eliminated for the bad items for the life of the people. It is signed for the flow of the light and writing essay east in the middle of the offs for the vicinity for the reforms for the humans. The light project is enlightened for the ambit of the joy for the candidates.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket