> I have a PDF that is generated on the fly and it has no 
> file name. I want to send this PDF to the client for SAVE 
> only - I don't want Acrobat Viewer to open. Is there anyway 
> I can achieve this?

Not really, in a consistent and reliable manner. It's up to the browser to
figure out what to do with various file types. If the browser is configured
to open PDF files by launching Acrobat, and it receives a file identified as
PDF, it's going to launch Acrobat. Your best bet is to tell people to click
the little "Save" button within Acrobat.

You could zip the file on the server, then let people download the zipped
PDF.

> If I can't do that, is there a header or something that 
> I can send to the browser to indicate to open in a new 
> window, so my original window is not used? Javascript is 
> not allowed.

If you want to open something in a new browser window, you can either use
JavaScript or have them click on a hyperlink that has the appropriate TARGET
attribute. The web server cannot arbitrarily open browser windows.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220048
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to