[Zope] Setting a document's domain

Etienne Labuschagne ELabuschagne@gims.com
Tue, 4 Dec 2001 09:58:44 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C17C99.7ED4F290
Content-Type: text/plain;
	charset="iso-8859-1"

Hi there,
 
I have posted a similar problem previously, but might have explained it
badly:
 
Is it possible to change a Zope generated document's domain?  I need to
communicate with my Zope from JavaScript served from a different server.  I
cannot access the window generated by my Zope server as this causes an
access denied error (the page served by Zope is from a different domain as
the page with the JavaScript).  The only way around this can be to set the
document's domain to the same domain of the JavaScript document.
 
Any help would be appreciated.
Regards
Etienne

------_=_NextPart_001_01C17C99.7ED4F290
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma size=2>Hi 
there,</FONT></SPAN></DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma size=2>I have posted a 
similar problem previously, but might have explained it 
badly:</FONT></SPAN></DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma size=2>Is it possible to 
change a Zope generated document's domain?&nbsp; I need to communicate with my 
Zope from JavaScript served from a different server.&nbsp; I cannot access the 
window generated by my Zope server as this causes an access denied error (the 
page served by Zope is from a different domain as the page with the 
JavaScript).&nbsp; The only way around this can be to set the document's domain 
to the same domain of the JavaScript document.</FONT></SPAN></DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma size=2>Any help would be 
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma 
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=330025507-04122001><FONT face=Tahoma 
size=2>Etienne</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C17C99.7ED4F290--