WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Accessing non WordPress Cookies (2 posts)

  1. AlexanderPD
    Member
    Posted 1 year ago #

    Hi, i made a page who loads another page via jquery's load.
    The loaded page write some cookies.

    Now i need another wordpress page to read those cookies, but seems like i can access only to 4 cookies when running a script from a wordpress page:
    0: "wp-settings-1"
    1: "wp-settings-time-1"
    2: "_icl_visitor_lang"
    3: "_icl_current_language"

    how can i access to my other cookie using javascript?

  2. AlexanderPD
    Member
    Posted 1 year ago #

    ok solved, was a cookie's path problem! i was setting a different cookie path on first page and the other page couldn't see the cookie

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags