Today I had a weird problem and wanted to post the solution just so other people who have the same trouble may find it in the archives. :)
I had a "Bad cookie, you have been signed out." when using the forward method of AuthKit. It always happened to me when submitting the signin form that submitted my login username and password. It turned out that my cookie names were accidentally idental in my development.ini: [app:main] session_key = mycookie authkit.cookie.name = mycookie It appears like the names clashed and the values I had stored in the (session_key) session confused the authkit's authentication cookie. Solution: use different cookie names! And in case you may want to get more debug information from AuthKit I found a way to get log information in the "paster serve" window. Add these lines to the config/middleware.py right after app = authkit.authenticate.middleware... import logging log_StreamHandler = logging.StreamHandler() # points to stderr authkit.authenticate.log.addHandler(log_StreamHandler) authkit.authenticate.log.setLevel(logging.DEBUG) In the above case I got the strange error message "BadTicket: userid is not followed by !" which made me look for empty cookies and finally pointed me at the real cause. Kindly Christoph -- Peer review means that you can feel better because someone else missed the problem, too. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---