WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Login-logout user status not correctly updated. (3 posts)

  1. ham.richards
    Member
    Posted 5 years ago #

    Conditions:

    1. Comment settings include "Users must be registered and logged in to comment"
    2. All plugins disabled (plugins directory renamed and replaced by empty directory)
    3. WP default theme activated.

    Incorrect behavior:

    Logging out at comment textbox leaves comment box showing, Logged-out account still appears logged in, but submitting a comment elicits the message "You must be logged in to comment".

    This behavior could be caused by login-logout status being only partially updated on logout.

  2. ham.richards
    Member
    Posted 5 years ago #

    Some more data: Deleting all cookies after logging out eliminates the spurious logged-in status info.

    So it seems that WP 2.8.6 doesn't update cookies properly.

    Browser: Safari 4.0.4.

    OS: Mac OS 10.5.8.

  3. ham.richards
    Member
    Posted 5 years ago #

    I found my problem.

    In General Settings I had provided a blog address different from the WordPress address, without reading the page "http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory". My mistake!

    What led me to this discovery was watching the blog's cookies appear and disappear as I logged in and out. Some of the cookies belonged to WordPress, and some to the blog. Now that I've eliminated the different blog address, all the cookies have the same website URL.

Topic Closed

This topic has been closed to new replies.

About this Topic