Say I have a website, www.example.com, with a login box which sits in an iframe situated in api.example.com. My question is:
Any solution which works on FF and IE 6/7 would be great.
You don't have to pass the cookie between them. You need to write the cookie to the right domain though.
Response.Cookies("COOKIENAME").Domain = ".example.com"
Response.Cookies("COOKIENAME").Value= "foo"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With