cookies logout

bdericks's Avatar


06 Jan, 2009 04:14 AM

We have our site hooked up to use cookie authentication and logging in seems to work. Logging out, however, is not working. Tender says that in order to logout, the user must logout of the main apps site. When I do that, and refresh tender, I'm still logged in. If I try to login as someone else, I get stuck logged in as that user instead.

The only way I've been able to logout so far is to manually remove the tender sites cookies.

  1. 1 Posted by Kyle Neath (Git... on 07 Jan, 2009 01:31 AM

    Kyle Neath (GitHub Staff) 's Avatar

    Removing the cookies is the intended way to log someone out of Tender. What you'll need to do is modify the logout action of your application to delete the tender cookies as well as your application cookies.

  2. Kyle Neath (GitHub Staff) closed this discussion on 07 Jan, 2009 01:31 AM.

  3. bdericks re-opened this discussion on 07 Jan, 2009 02:31 AM

  4. 2 Posted by bdericks on 07 Jan, 2009 02:31 AM

    bdericks's Avatar

    I'm sorry. My original post did not do a good job of clarifying the issue we are having.

    I used the rails code from the "Share your own site's authentication with Tender" article (modified for our domain) and added the deletion of those cookies to our logout code. I have confirmed that the tender_* cookies are both created and deleted during login/logout of our app.

    Tender is set up to work with When I logout of and go back to and refresh, I am still logged in at

    After taking a closer look at what cookies were showing up for I noticed what looks to be a session cookie, _voxpop_session. If I delete that cookie, and refresh, I am signed out. So it seems like even though I logout of, does not logout until it's session expires?

    So, does that sound like something I need to fix from my end, or is it intended to work that way, or something else?

    Thanks for the help. Sorry if I'm just being retarded about something.

  5. 3 Posted by System on 10 Jan, 2009 12:48 AM

    System's Avatar

    A Lighthouse ticket was created for this discussion

  6. Support Staff 4 Posted by Courtenay on 10 Jan, 2009 12:48 AM

    Courtenay's Avatar

    Good catch. We'll fix this.

  7. 5 Posted by Mike (Unspace) on 10 Jan, 2009 08:48 PM

    Mike (Unspace)'s Avatar


  8. 6 Posted by System on 10 Feb, 2009 07:49 AM

    System's Avatar

    Ticket # 189 was resolved by court3nay.

  9. Support Staff 7 Posted by Courtenay on 10 Feb, 2009 07:50 AM

    Courtenay's Avatar

    Let me know if this is still a problem.

  10. Courtenay closed this discussion on 10 Feb, 2009 07:50 AM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

05 Dec, 2019 01:11 AM
22 Nov, 2019 01:04 PM
14 Oct, 2019 04:05 AM
14 Oct, 2019 12:43 AM
21 Sep, 2019 02:33 PM