Cookies not working (3 posts)

  1. driz
    Posted 7 years ago #

    Hi i have a website at http://paperviewzine.com/ and a forum at http://forums.paperviewzine.com/ they are interlinked and are supposed to be sharing cookies. However this does not seem to be the case. When I am logged into the forum I can get to my Wp-admin fine, but not the other way around. And when I logout of the wp-admin it has no effect on the forums i am still logged in. So its sort of working sort of not, so im assuming it has something to do with the cookie URLS I have defined in the wp-config file:

    define( 'COOKIE_DOMAIN', '.paperviewzine.com' );
    define( 'COOKIEPATH', '/' );

    Do I need to add any extra information to get them to understand the sub-domains?

    To clarify:

    logging into http://forums.paperviewzine.com/ and I will be logged into http://paperviewzine.com/ and also when i logout of the forums i will also be logged out of the main website as well, so that works perfect.

    however logging into http://paperviewzine.com/ and I will NOT be logged into the forums at http://forums.paperviewzine.com/ and I will have to manually login to the forums at which point i cannot access the admin screen for the forums it will just refresh the page i am on.

    So the cookies are broke on the WordPress site i take it? Or is the forums that are spitting out incorrect cookies? Thanks

  2. driz
    Posted 7 years ago #

    Not sure if this post is appearing? Keeps showing up blank? :/

  3. driz
    Posted 7 years ago #

    Any updates thanks?

    I took a look at the cookies in my browser and noticed that some start with .paperviewzine.com and some just paperviewzine.com is this whats causing the problem? I noticed on WordPress.org they are just .wordpress.org and .bbpress.org so it seems like the likely culprit, how can i fix this?

    IMAGE HERE: http://paperviewzine.com/cookies.png

Topic Closed

This topic has been closed to new replies.

About this Topic