Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BinaryWrite and redirect
Message
De
22/11/2000 12:48:42
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
22/11/2000 08:53:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00444523
Message ID:
00444678
Vues:
8
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform