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 3 of 3

Thread: PHP Cookies

  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Location
    United States
    Posts
    158
    Thanks
    8
    Thanked 4 Times in 4 Posts

    PHP Cookies

    Oi, Hello all of you!

    I was wondering if it is possible, and how you would go about updating cookie values. I've googled, and searched, but I can't seem to find it.

    Any help would be appreciated, thanks.

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    Quote Originally Posted by votter View Post
    Oi, Hello all of you!

    I was wondering if it is possible, and how you would go about updating cookie values. I've googled, and searched, but I can't seem to find it.

    Any help would be appreciated, thanks.
    setcookie(). You sure you googled?

  • #3
    Regular Coder
    Join Date
    Oct 2009
    Location
    United States
    Posts
    158
    Thanks
    8
    Thanked 4 Times in 4 Posts
    Yes, I know of setcookie, but it doesn't help when trying to update a previous cookie that has been set. Atleast when I tried it, it did not update it.

    Hmm, I guess I do not have it in a spot allowed.

    Got it, thanks.

    Just switched to an ajax request to update it so I don't have the header problem.
    Last edited by votter; 12-20-2010 at 02:32 AM.


  •  

    Posting Permissions

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