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 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2003
    Location
    USA
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    javascript cookie reader

    Okay, got a question. How does one go about making a javascript read a specific cookie (if it exists) and send the data to a database? the database is MySQL and it's hosted by the french lycos, so it supports php if it's needed.
    ~KGP

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #3
    New Coder
    Join Date
    Jan 2003
    Location
    USA
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so it's not possible to read a cookie from another server?
    ~KGP

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Ahh, you want to read a cookie from another domain. You can't do that. Obviously it's for security reasons. You can share a cookie among its subdomains like for example .mail.yahoo.com shares a cookie with .groups.yahoo.com and other subdomains. That's possible if the cookie is saved with the domain set to .yahoo.com
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

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