...

View Full Version : javascript cookie reader



kgpbeyond
03-18-2004, 03:39 AM
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.

glenngv
03-18-2004, 04:04 AM
Javascript FAQ Sticky (http://codingforums.com/showthread.php?s=&threadid=34358#post178017)

kgpbeyond
03-18-2004, 04:07 AM
so it's not possible to read a cookie from another server?

glenngv
03-18-2004, 04:20 AM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum