need the right way to setcookie in wordpress (3 posts)

  1. wp-beginner
    Posted 3 years ago #

    i've been looking the whole day how to setcookies in wordpress. in my way i found out (using the developer toolbar) that the cookie is set but still not working. i have 2 files the first contains the login form redirecting to another page to set the cookie and return to another page to check if it's working. domain which is tested on is like this : blog.mydomain.com. here's the setcookie file :
    and chcking the cookie like this :
    echo "cookie exists";
    echo "cookie doesn't exist";
    i've read many topics about this issue but there was no clear answer. Thanks in advance

    [mod: moved to 'How-to and Troubleshooting']

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    You're more likely to receive help if you create a thread in the 'How to..' forum.

  3. wp-beginner
    Posted 3 years ago #

    Thank you for your reply. Any help yet ?

Topic Closed

This topic has been closed to new replies.

About this Topic