Re: ShowmodalDialog between servers

From: Martin Honnen (mahotrash_at_yahoo.de)
Date: 02/18/05


Date: Fri, 18 Feb 2005 17:38:51 +0100


nilsotto wrote:

> We have a web-application that requres a modal dilaog for spellcheck
> functionality
>
> We have made the thing work on our local computers, but when deploying to
> different servers it doesn't work.
>
> The code goes like this :
>
> objTextBox = document.getElementById("txtToCheck");
> url = "http://someserver/spellcheck/SpellStarter.aspx";
> objTextBox.value = window.showModalDialog(url, objTextBox.value, "<params>");
> (<params> omitted for readability, they don't matter)
>
> When "someserver" is the same as the machine serving the javascript and html
> everything works ok.
> When someserver is another server, it doesn't work anymore, which is OK from
> a security point of view. (it works in ie5, but not in ie6, so its probably a
> security "fix")
>
> the next thing to expect is that it shoud start working again if i put the
> "someserver" in trusted sites in ie. It doesn't.
>
> Can you please help, or point me to some other method ?

Elsewhere someone recently claimed he got a similar scenario working by
calling showModalDialog with a URL to a server-side script on the
original server which then does a redirect to the intended URL e.g.
http://example.com/spellcheck/SpellStarter.aspx. I have never tested
whether respectively with what version of IE that works, whether
dialogArguments and returnValue work properly. But maybe you can try and
report back whether that works for you.

-- 
	Martin Honnen
	http://JavaScript.FAQTs.com/


Relevant Pages

  • Re: Deploy Printers with GP in Win2k3 R2
    ... is that the policy is not reversed when the user is removed from the group. ... I have a print server. ... log in my first post that i am getting when deploying the print without ... You can manage printer connections through a logon script, ...
    (microsoft.public.windows.server.active_directory)
  • Network Tappers, IDS, etc.
    ... I plan on getting a pretty hefty server to use as the ... I was wondering if someone with experience deploying Snort in a medium ... I would like any information available on network taps. ... Test Your IDS ...
    (Focus-IDS)
  • Re: GPO Using Pushprinterconnection.exe Not Working
    ... My PMC says that the printer has been deployed. ... The GPMC says that the GP is there and linked to the correct place in the AD. ... When using the PMC only the server with the PMC needs to be R2. ... I've read some of the recent articles about deploying ...
    (microsoft.public.windows.group_policy)
  • Server 2003 Group Policy error - KB830676
    ... to that described in the MS Knowledge Base article 830676. ... information could not be read from the domain controller, ... Server 2003 at a handful of sites and are looking to use ... resort to deploying Win2K Servers so as to provide an ...
    (microsoft.public.windows.server.general)
  • There was a failure executing the receive pipeline
    ... I created the project on an SDK client and deployed it on the server from ... client and deploying to the biztalk server. ...
    (microsoft.public.biztalk.general)