| re: access denied problem
Is the page displayed in the lower frame on the same site as the one in the
upper frame? If not, you are attempting to perform cross-site scripting,
which is not permitted by many browsers for security reasons. You might
just have to let the users print from their browsers if the target page
doesn't have its own printing link or button.
BTW, it's also a potential security risk to redirect to URLs specified in
query strings. You might want to consider mapping allowed target URLs to
unique identifiers that can be used in the query string in place of the URL
itself.
"dana lees" <danal@idc.ac.il> wrote in message
news:%23tjwHdojEHA.1040@TK2MSFTNGP09.phx.gbl...[color=blue]
> Hi,
>
> I have a frameset that contains 2 frames.
> The upper frame has a "print" button. The lower frame has been redirected
> to
> a URL that was sent to it in a QueryString.
> When trying to call window.print() from the upper frame to the lower frame
> i
> get an "access denied" error.
> How can i solve this problem?
>
> Thanks,
> Daan
>
>[/color] |