Comet (programming): Difference between revisions

Content deleted Content added
No edit summary
Bluelink 1 book for verifiability (prndis)) #IABot (v2.0) (GreenC bot
Line 162:
|first=David
|title=JavaScript the Definitive Guide
|url=https://archive.org/details/javascript00libg_297
|url-access=registration
|series=The Definitive Guide
|date=2006-08-17
Line 167 ⟶ 169:
|isbn=0-596-10199-6
|chapter=13.8.4 Cross-Site Scripting
|page=[https://archive.org/details/javascript00libg_297/page/n981 994]
|page=994
}}</ref> That is, if the main web page is served from one SLD, and the Comet server is located at another SLD (which does not have [[cross-origin resource sharing]] enabled), Comet events cannot be used to modify the HTML and DOM of the main page, using those transports. This problem can be sidestepped by creating a [[proxy server]] in front of one or both sources, making them appear to originate from the same ___domain. However, this is often undesirable for complexity or performance reasons.