>>>How can I combine BinaryWrite and redirection of an output to another page
>>>or into a new window?
>>>Thanks Mark
>>
>>Hi,
>>
>>Can you gve some more details. What type of info are you BinaryWrite-ing?
>>
>>Typically, binarywrite is used as an Image source, so the tag below could be placed in Page2, which could be redirected() to from page1.asp
>>
>
>I need to show PDF file created on Server in a new window. I can easily open new window with that file but I'd like to use BinaryWrite for security purpose.
>Mark
OK, so if you were creating this with a static PDF, you would have a file test.pdf on your server, then a link on your page would have href="test.pdf", right?
To do this dynamically, your link would have to have href="genpdf.asp" and I think you need to look at supplying a ContentType header with the returned HTTP. I think I have an example of this at home. I'll post it later if I can find it.