Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BinaryWrite and redirect
Message
From
22/11/2000 12:48:42
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
22/11/2000 08:53:18
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00444523
Message ID:
00444678
Views:
13
>>>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.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform