Hello guys!

I have a problem opening an asp page with Excel content type through window.open().

When the parent page calls window.open("child.asp","","titlebar=yes"), the child page displays without a problem.
However, I need to pass parameters to the child page via querystring. So, when I modify the call to window.open("child.asp?param=p1", "", "titlebar=yes"), first the IE browser asks me if I want to save or open the file. Once I click open (or save) I get the following error:

"Internet Explorer cannot download from localhost. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found".

Apparently, it is my query string, but I can't figure out what's wrong with it.
It's "child.asp?param1=p1&param2=p2"

Any help, ideas, suggestions will be very much appreciated.