Discussion Locked

Cookies across different domains

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can cookies can be used across domains? The company I work for is hosted in two different places and has two different domains. Let's say one is helpme.com and the other is helpme.org. How in the world can I use a universal cookie on the site that can be used with both domains. I am trying to identify how many distinct people see our site each month...but I can't, because we've got two different domains. Can anyone help??

Thanks!!!!

7 replies

by tjc

The nature of cookies are that they are not cross domain. This is a security feature so that one doimain can not read the setting and passwords that another domain may have saved into a cookie....

by 3wadman

Cookies are not an easy solution for you but this will work.
userIP = request.servervariables("REMOTE_ADDR")
Save the date and time the userIP visited each site. Put it in a db and sort it by userIP, date, time. You may never get two different visitors using the same IP within an hour even if the come from AOL's pool.

This discussion is closed to new replies.