Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

can i set(or get) cookie under other domain?

Posted on 2001-06-12
4
Medium Priority
?
237 Views
Last Modified: 2012-05-04
HI EE,
I have a question,wish u can help me.

As the question title,
and more...
At a.com ,can I get cookies value which was set at b.com?
Or can I set cookies under b.com when the html page is at a.com?

y,that's all,thanks for your reading  

           webbing
0
Comment
Question by:webbingxia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 6184267
for security reasons, no.  it seems there was a bug in IE a while back where one could do this but they put out a patch shortly thereafter
0
 
LVL 1

Author Comment

by:webbingxia
ID: 6184313
hi AzraSound,
U know,Why I ask that?
I want detect whether the cookie is opened at user's browser.I use the normal method: set a temp cookie and get it to detect.
But for some reason,the function should work under two different domain.So ...

Dear AzraSound,Do u have other method to DO so -- DETECT COOKIES ENABLE?
I want the answer... thanks
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 400 total points
ID: 6184366
"Determining if your Visitors have JavaScript and Cookies Enabled"
http://www.4guysfromrolla.com/webtech/082400-1.shtml

this is client side script that is independent of what domain the page came from
0
 
LVL 1

Author Comment

by:webbingxia
ID: 6184990
y,thanks for your help.
Wish meet u at EE again... ...
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question