Hi.
I've created a web application that requires authentication on all pages. One of
my pages is an ASP script that runs in a modal web dialog. It has a form to
upload a file. To prevent a new window from being spawned I've put an IFRAME as
the target of the form submission:
<form action="Image.a sp" method="post" enctype="multip art/form-data"
target="Results ">
...
<input type="file" size="30" name="ImageFile ">
...
</form>
<iframe src="about:blan k" name="Results" frameborder="0" ></iframe>
When I pick up a file from My Documents I get an authentication prompt as soon
as I submit the form. I don't get that authentication prompt when I run the
script in a normal window (i.e. in a non dialog window). If I select a file from
anywhere beyond the wwwRoot folder I don't get the authentication prompt either.
Is it normal or is it a bug in MSIE? I would have sworn IIS had nothing to do
with client-side file access when uploading files!
I'm running Windows XP SP1 with IE6 SP1.
Thanks,
Vince C.
I've created a web application that requires authentication on all pages. One of
my pages is an ASP script that runs in a modal web dialog. It has a form to
upload a file. To prevent a new window from being spawned I've put an IFRAME as
the target of the form submission:
<form action="Image.a sp" method="post" enctype="multip art/form-data"
target="Results ">
...
<input type="file" size="30" name="ImageFile ">
...
</form>
<iframe src="about:blan k" name="Results" frameborder="0" ></iframe>
When I pick up a file from My Documents I get an authentication prompt as soon
as I submit the form. I don't get that authentication prompt when I run the
script in a normal window (i.e. in a non dialog window). If I select a file from
anywhere beyond the wwwRoot folder I don't get the authentication prompt either.
Is it normal or is it a bug in MSIE? I would have sworn IIS had nothing to do
with client-side file access when uploading files!
I'm running Windows XP SP1 with IE6 SP1.
Thanks,
Vince C.
Comment