SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Store Cookie On Our Server By Loading URL - PHP

  1. #1
    SitePoint Addict
    Join Date
    Mar 2011
    Location
    Manchester, UK
    Posts
    218
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Store Cookie On Our Server By Loading URL - PHP

    Hi Guys,

    How do i go about coding in PHP so that when i load the script the server will load a URL. Now on that URL it will store cookies, i need those cookies to be stored on the server and not on the machine loading the script as the cookies will be used again by the server later on.

    If someone could help me that would be great.

    Thanks
    You're Help Does Not Go Unnoticed, I have So Far Donated £10 GBP
    To Cancer Research UK As A Thank You To All The SitePoint
    Members That Have Helped Me In The PHP Forum Thank You!

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2008
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A cookie is a text file stored on client computer. So there is no way to store cookie on the server. But you can store a reference of that cookie on your server database.

Bookmarks

Posting Permissions

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