Do iframes have access to the cookies of the hosting domain?
2,507
You can't share cookies across domains. You may share across subdomains. So, if your domain wrote the cookie stored on the client - whether in an iframe from other site or stored by visiting your main site, your domain should be able to access it. Otherwise - no.
Here's some good info on the matter (over on SO)...
Related videos on Youtube
Author by
Andreas
Updated on September 18, 2022Comments
-
Andreas over 1 year
Is there a simple way to fix elements in a html document that miss the ending tag, or /> ending? I'm using ASP.NET with c# (loads html with the help of Html Agility Pack).
An example:
<img src="www.example.com/image.jpg">
should transform into
<img src="www.example.com/image.jpg" />
or
<img src="www.example.com/image.jpg"></img>
-
Tomalak over 13 yearsIf you can load the HTML with the Agility Pack - where is the actual problem?
-
Oded over 13 years@Tomalak - I am assuming he wants to genarete a valid XHTML document from the HTML.
-