how is that done??
-
Hello, lately I looked at the Snap Shots preview widget (www.snap.com) and wondered how a specific feature has been implemented: If you select the options (top right corner) and select something (f.e. a longer delay until the window pops up) the information is stored in a cookie belonging to the snap.com domain. This is no problem, because the options panel shown in the widget is an iframe which is loaded from the snap.com domain. My question is now, how they get the information in the cookie belonging to the domain snap.com, if the javascript runs in the contex of a completely different domain?? It works, you can try... but how is this done? All I know is, that it is prohibited to access cookies of other domains. Thanks! I am very interested in any ideas! Constantin
-
Hello, lately I looked at the Snap Shots preview widget (www.snap.com) and wondered how a specific feature has been implemented: If you select the options (top right corner) and select something (f.e. a longer delay until the window pops up) the information is stored in a cookie belonging to the snap.com domain. This is no problem, because the options panel shown in the widget is an iframe which is loaded from the snap.com domain. My question is now, how they get the information in the cookie belonging to the domain snap.com, if the javascript runs in the contex of a completely different domain?? It works, you can try... but how is this done? All I know is, that it is prohibited to access cookies of other domains. Thanks! I am very interested in any ideas! Constantin
I don't remember the specifics of how to accomplish this but it is probably similar to how whenever you go to any Microsoft website you first go to the passport website to get credentials. Try Google for a writeup of how Microsoft accomplishes this. It was written up and spread on the internet a few years ago.
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
I don't remember the specifics of how to accomplish this but it is probably similar to how whenever you go to any Microsoft website you first go to the passport website to get credentials. Try Google for a writeup of how Microsoft accomplishes this. It was written up and spread on the internet a few years ago.
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes