Welcome Guest, Not a member yet? Register   Sign In
Third-Party Cookies and Safari - a Solution?
#1

[eluser]Vik[/eluser]
Safari seems to be the only major browser that disables third-party cookies (e.g. cookies set in iframes) by default.

Quote:Apple's Safari web browser is the only web browser that disables third-party cookies by default and protects its users from third-party Internet tracking. (link)]

There are a number of places on the net where people are asking if there's a way to work around this, but I haven't yet found an answer.

However, I notice that javascript contained in my iframe has no problem setting a cookie in Safari.

This leads me to think that it might be possible to:

- Include the encrypted text of the cookie in a hidden div on the web page contained in the iframe, e.g.:
Code:
<div id="encrypted_cookie">text of cookie</div>
- Retrieve the encrypted text from the div using javascript.
- Use javascript to set the cookie in Safari.

Given that this seems too easy -- what am I missing? Are there reasons not to do this that I haven't noticed yet?

Thanks in advance to all for any info.


Messages In This Thread
Third-Party Cookies and Safari - a Solution? - by El Forum - 02-26-2010, 03:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB