Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cookies on another domain

Status
Not open for further replies.

Jeremy21b

Technical User
Jul 7, 2002
127
CA
Is it possible to access cookies for another domain?

Our website has an admin section, but it's all on a secure server. So the address starts with https and the cookies are separate from the main website cookies. I want certain features of the main website to be slightly different if a user has logged in as an admin. For example, I'd like all part numbers to be visible and I'd like an admin checkout. The problem is that the admin user cookie is set on the secure server. Can I somehow access this cookie on the main website? Or can I set that cookie pointing to the other domain?

Any suggestions would be much appreciated. Thanks.
 
If you figure out, let me know. I need to do some, uh, research, yeah thats it. I want to know if visitors to my site have accounts on Ebay and, um Amazon and stuff. Just for research I promise...yeah.
 
Well I made the mistake of making a thread before searching the forum. I just set the cookies to ".domain.ext" instead of " That made the cookie accessible on both domains.
 
Ack! I just posted a new thread about this. And I tried doing what you just said you did, but it does not work for me! I am so frustrated!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top