Re: ShowmodalDialog between servers
From: nilsotto (nilsotto_at_discussions.microsoft.com)
Date: 02/18/05
- Previous message: Michael Harris \(MVP\): "Re: Classic ol' "Automation server Can't create object""
- In reply to: Martin Honnen: "Re: ShowmodalDialog between servers"
- Next in thread: Martin Honnen: "Re: ShowmodalDialog between servers"
- Reply: Martin Honnen: "Re: ShowmodalDialog between servers"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Feb 2005 09:47:02 -0800
nope.
Same result.
What i've done is to create a redirect-app, and changed the URL to
http://sameserver/redirect?url=http://mawww05/radspell/SpellStarter.aspx"
The string value passed to showmodaldialog is still not transferred remotly.
Nils Otto
"Martin Honnen" wrote:
> 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/
>
>
>
> 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 ?
>
- Previous message: Michael Harris \(MVP\): "Re: Classic ol' "Automation server Can't create object""
- In reply to: Martin Honnen: "Re: ShowmodalDialog between servers"
- Next in thread: Martin Honnen: "Re: ShowmodalDialog between servers"
- Reply: Martin Honnen: "Re: ShowmodalDialog between servers"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|