New Forum | Previous | Next | (P-PDF) Developers
Topic: Acrobat's http connection
Conf: (P-PDF) Developers, Msg: 51409
Date: 5/29/2002 04:45 PM
I am writing an Acrobat plug-in that is designed to function when Acrobat is displaying a PDF from the web (in a web browser). I need to receive additional data from the webserver, and I also need to send data back to the webserver. I am able, using an auxiliary data handler, to get a small amount of data from the webserver by appending to the end of the PDF file's URL a # and a URL to the data I want sent to my Acrobat plug-in. Acrobat automatically follows the appended URL and passes the data (XML in my case) to the auxiliary data handler in my plug-in.
As I mentioned before, I need to retrieve data from and send data to the webserver. I would like to be able to hook into the http connection that Acrobat uses to send my plug-in the auxiliary data. This is obviously the browser's http connection, since I am only prompted for a password once, when I originally access the website which the PDF resides on, and not a second time when Acrobat accesses the auxiliary data. Avoiding the necesity to authenticate twice is my main reason for wanting to use same http connection as Acrobat and the browser.
Can anyone shed any light on this or share any ideas or theories? I would be most appreciative!