0

I have two different webpages. The first is a php app that creates a cookie (http://www.phpapp.com). The second is a silverlight app (http://www.silverlightapp.com).

The question is how could I access to cookie that is created by php app from the silverlight app hosted on the second website?

Thanks!

Pavel Gatilov
  • 7,579
  • 1
  • 27
  • 42
voimak
  • 311
  • 1
  • 3
  • 7
  • Please, explain your scenario as this might help suggesting you a way out of your situation. Do you need to pass data from one app to the other? Do you need a form of OpenID? Why do you need what you want? – Pavel Gatilov May 14 '13 at 18:03

1 Answers1

1

I'm afraid it's impossible due to security restrictions - a browser won't allow a site to access cookies from another domain. Check out:

The first link also gives some workarounds.

Community
  • 1
  • 1
Pavel Gatilov
  • 7,579
  • 1
  • 27
  • 42