Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Cookies Path

  1. #1
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts

    Cookies Path

    Hi All

    I am once again getting all confused with this cookie situation, here's what I am wanting to do.


    I want to create one cookie that can be read and updated from any page on my site.


    Here's what I am doing.

    I set "mycookie" in page 1 with some text

    Load page 2 and get "mycookie", the text displayed is what I set in page 1, this is correct.

    Now I add more text and set "mycookie"

    When I reload page 2 the text is correct but when I load page 1 only the original text is shown

    Page 2 is in a different directory

    I look in my cache and see that 2 cookie files have been created one for page 1 and another for page 2

    Any help would be appreciated

    Thanks

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    I finally managed to figure it out



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •