PRB: "Unspecified Potential Security Flaw" Message When You Call ShowModalDialog Function (323034)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming)

This article was previously published under Q323034

SYMPTOMS

When you call the ShowModalDialog function inside a Web page, if you set the security of the Internet Zone between Low and High, you may receive the following error message:
This page has an unspecified potential security flaw. Would you like to continue?

CAUSE

This problem occurs because of how Internet Explorer behaves when it uses the cookieEnabled property inline with ShowModalDialog. By default, Internet Explorer checks the cookieEnabled policy for the Internet Zone. However, because Internet Explorer does not have a default handler for this check, Internet Explorer displays a generic error message.

RESOLUTION

To resolve this problem, use the window.open method instead.

Modification Type:MajorLast Reviewed:12/3/2002
Keywords:kbprb KB323034 kbAudDeveloper