re[2]: [ACFUG Discuss] Javascript across sub domains

2009-11-02 Thread Mischa Uppelschoten
Thanks John! I'm afraid they are different servers. I have CF running on one 
box that takes user input. This input needs to be posted to a webservice on the 
other box. I understand one cannot go from domaina.com to domainb.com for 
security reasons, but I can't find a good answer on sub domains...


: Mischa,

: Not sure about JS and subdomains - I wouldn't think it would be a problem, 
: but I would imagine that the subdomain is pointing to just a folder on the 
: original domain, yes? if so, just have your AJAX post to the file in that 
: folder, instead of using the submain in the script itself.

: John

: --
: From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com
: Sent: Monday, November 02, 2009 2:20 PM
: To: Web Site discussion@acfug.org
: Subject: [ACFUG Discuss] Javascript across sub domains

:  More of a js question than CF, but I hope someone might be able to chime 
:  in and save me some research time.
: 
:  Source code (html + js) comes from www.domain.com and is loaded in a 
:  frame.
: 
:  is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com ?
: 
:  Right now FireBug is not showing any attempt at all, so my guess is that 
:  FF is preventing it. Is there anything I can do server side to allow that?
: 
:  Thanks!
: 
:  Mischa.
: 
: 
: 
:  -
:  To unsubscribe from this list, manage your profile @
:  http://www.acfug.org?fa=gin.edituserform
: 
:  For more info, see http://www.acfug.org/mailinglists
:  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
:  List hosted by http://www.fusionlink.com
:  -
: 
: 
: 
:  


: -
: To unsubscribe from this list, manage your profile @ 
: http://www.acfug.org?fa=login.edituserform

: For more info, see http://www.acfug.org/mailinglists
: Archive @ http://www.mail-archive.com/discussion%40acfug.org/
: List hosted by http://www.fusionlink.com
: -









Mischa Uppelschoten
VP of Technology
The Banker's Exchange, LLC.
4200 Highlands Parkway SE
Suite A
Smyrna, GA 30082-5198

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
-- Original Message --

FROM:  John Youngman j...@jg-technologies.net
TO:discussion@acfug.org
DATE:  Mon, 2 Nov 2009 14:30:19 -0500

SUBJECT:   Re: [ACFUG Discuss] Javascript across sub domains

Mischa,

Not sure about JS and subdomains - I wouldn't think it would be a problem, 
but I would imagine that the subdomain is pointing to just a folder on the 
original domain, yes? if so, just have your AJAX post to the file in that 
folder, instead of using the submain in the script itself.

John

--
From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com
Sent: Monday, November 02, 2009 2:20 PM
To: Web Site discussion@acfug.org
Subject: [ACFUG Discuss] Javascript across sub domains

 More of a js question than CF, but I hope someone might be able to chime 
 in and save me some research time.

 Source code (html + js) comes from www.domain.com and is loaded in a 
 frame.

 is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com ?

 Right now FireBug is not showing any attempt at all, so my guess is that 
 FF is preventing it. Is there anything I can do server side to allow that?

 Thanks!

 Mischa.



 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=gin.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -



 


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: re[2]: [ACFUG Discuss] Javascript across sub domains

2009-11-02 Thread Dean H. Saxe
Actually there is no security reason to allow it not to post to  
another domain.


--
Dean H. Saxe
A true conservationist is a person who knows that the world is not  
given by his fathers, but borrowed from his children.  -- John James  
Audubon





On Nov 2, 2009, at 2:38 PM, Mischa Uppelschoten wrote:

Thanks John! I'm afraid they are different servers. I have CF  
running on one box that takes user input. This input needs to be  
posted to a webservice on the other box. I understand one cannot go  
from domaina.com to domainb.com for security reasons, but I can't  
find a good answer on sub domains...



: Mischa,

: Not sure about JS and subdomains - I wouldn't think it would be a  
problem,
: but I would imagine that the subdomain is pointing to just a  
folder on the
: original domain, yes? if so, just have your AJAX post to the file  
in that

: folder, instead of using the submain in the script itself.

: John

: --
: From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com
: Sent: Monday, November 02, 2009 2:20 PM
: To: Web Site discussion@acfug.org
: Subject: [ACFUG Discuss] Javascript across sub domains

:  More of a js question than CF, but I hope someone might be able  
to chime

:  in and save me some research time.
: 
:  Source code (html + js) comes from www.domain.com and is loaded  
in a

:  frame.
: 
:  is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com 
 ?

: 
:  Right now FireBug is not showing any attempt at all, so my guess  
is that
:  FF is preventing it. Is there anything I can do server side to  
allow that?

: 
:  Thanks!
: 
:  Mischa.
: 
: 
: 
:  -
:  To unsubscribe from this list, manage your profile @
:  http://www.acfug.org?fa=gin.edituserform
: 
:  For more info, see http://www.acfug.org/mailinglists
:  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
:  List hosted by http://www.fusionlink.com
:  -
: 
: 
: 
: 


: -
: To unsubscribe from this list, manage your profile @
: http://www.acfug.org?fa=login.edituserform

: For more info, see http://www.acfug.org/mailinglists
: Archive @ http://www.mail-archive.com/discussion%40acfug.org/
: List hosted by http://www.fusionlink.com
: -









Mischa Uppelschoten
VP of Technology
The Banker's Exchange, LLC.
4200 Highlands Parkway SE
Suite A
Smyrna, GA 30082-5198

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
-- Original Message --

FROM:  John Youngman j...@jg-technologies.net
TO:discussion@acfug.org
DATE:  Mon, 2 Nov 2009 14:30:19 -0500

SUBJECT:   Re: [ACFUG Discuss] Javascript across sub domains

Mischa,

Not sure about JS and subdomains - I wouldn't think it would be a  
problem,
but I would imagine that the subdomain is pointing to just a folder  
on the
original domain, yes? if so, just have your AJAX post to the file in  
that

folder, instead of using the submain in the script itself.

John

--
From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com
Sent: Monday, November 02, 2009 2:20 PM
To: Web Site discussion@acfug.org
Subject: [ACFUG Discuss] Javascript across sub domains

More of a js question than CF, but I hope someone might be able to  
chime

in and save me some research time.

Source code (html + js) comes from www.domain.com and is loaded in a
frame.

is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com 
 ?


Right now FireBug is not showing any attempt at all, so my guess is  
that
FF is preventing it. Is there anything I can do server side to  
allow that?


Thanks!

Mischa.



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=gin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ 

re[2]: [ACFUG Discuss] Javascript across sub domains

2009-11-02 Thread Mischa Uppelschoten
Thanks Dean! I just tried it, but it breaks other parts of my script. Still, I 
think you hit the nail on the head and setting document.domain is the solution, 
were it not for the handiwork of the original author :-(
Mischa.


: FWIW, this is actually not an issue with the SOP, I misspoke.  But to  
: get around some SOP issues set the domain property:
:  http://docs.sun.com/source/816-6408-10/document.htm#1193628

: --
: Dean H. Saxe
: A true conservationist is a person who knows that the world is not  
: given by his fathers, but borrowed from his children.  -- John James  
: Audubon




: On Nov 2, 2009, at 2:30 PM, John Youngman wrote:

:  Mischa,
: 
:  Not sure about JS and subdomains - I wouldn't think it would be a  
:  problem, but I would imagine that the subdomain is pointing to just  
:  a folder on the original domain, yes? if so, just have your AJAX  
:  post to the file in that folder, instead of using the submain in the  
:  script itself.
: 
:  John
: 
:  --
:  From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com
:  Sent: Monday, November 02, 2009 2:20 PM
:  To: Web Site discussion@acfug.org
:  Subject: [ACFUG Discuss] Javascript across sub domains
: 
:  More of a js question than CF, but I hope someone might be able to  
:  chime in and save me some research time.
: 
:  Source code (html + js) comes from www.domain.com and is loaded in  
:  a frame.
: 
:  is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com 
:   ?
: 
:  Right now FireBug is not showing any attempt at all, so my guess is  
:  that FF is preventing it. Is there anything I can do server side to  
:  allow that?
: 
:  Thanks!
: 
:  Mischa.
: 
: 
: 
:  -
:  To unsubscribe from this list, manage your profile @
:  http://www.acfug.org?fa=gin.edituserform
: 
:  For more info, see http://www.acfug.org/mailinglists
:  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
:  List hosted by http://www.fusionlink.com
:  -
: 
: 
: 
: 
: 
:  -
:  To unsubscribe from this list, manage your profile @
:  http://www.acfug.org?fa=login.edituserform
: 
:  For more info, see http://www.acfug.org/mailinglists
:  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
:  List hosted by http://www.fusionlink.com
:  -
: 
: 
: 



: -
: To unsubscribe from this list, manage your profile @ 
: http://www.acfug.org?fa=login.edituserform

: For more info, see http://www.acfug.org/mailinglists
: Archive @ http://www.mail-archive.com/discussion%40acfug.org/
: List hosted by http://www.fusionlink.com
: -









Mischa Uppelschoten
VP of Technology
The Banker's Exchange, LLC.
4200 Highlands Parkway SE
Suite A
Smyrna, GA 30082-5198

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
-- Original Message --

FROM:  Dean H. Saxe d...@fullfrontalnerdity.com
TO:discussion@acfug.org
DATE:  Mon, 2 Nov 2009 14:41:05 -0500

SUBJECT:   Re: [ACFUG Discuss] Javascript across sub domains

FWIW, this is actually not an issue with the SOP, I misspoke.  But to  
get around some SOP issues set the domain property: 
http://docs.sun.com/source/816-6408-10/document.htm#1193628

--
Dean H. Saxe
A true conservationist is a person who knows that the world is not  
given by his fathers, but borrowed from his children.  -- John James  
Audubon




On Nov 2, 2009, at 2:30 PM, John Youngman wrote:

 Mischa,

 Not sure about JS and subdomains - I wouldn't think it would be a  
 problem, but I would imagine that the subdomain is pointing to just  
 a folder on the original domain, yes? if so, just have your AJAX  
 post to the file in that folder, instead of using the submain in the  
 script itself.

 John

 --
 From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com
 Sent: Monday, November 02, 2009 2:20 PM
 To: Web Site discussion@acfug.org
 Subject: [ACFUG Discuss] Javascript across sub domains

 More of a js question than CF, but I hope someone might be able to  
 chime in and save me some research time.

 Source code (html + js) comes from www.domain.com and is loaded in  
 a frame.

 is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com 
  ?

 Right now FireBug is not showing any attempt at all, so my guess is  
 that FF is preventing it. Is there anything I can do server side to  
 allow that?

 Thanks!

 Mischa.



 -
 To unsubscribe from this list,