Print Page | Close Window

Tracking PDF Activity

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=335
Printed Date: 19 May 24 at 3:45AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Tracking PDF Activity
Posted By: jtjtjt
Subject: Tracking PDF Activity
Date Posted: 26 Feb 06 at 2:31AM
I'm looking for a better way to track PDF activity. Specifically, when the PDFs are opened.

After searching online, I used the following function to add javascript to a test PDF.

iSedSetOpenActionJavaScript "this.getURL(""http://127.0.0.1/test.php?123"", false);"

It does connect to the website, but it does this through an Internet browser--not silently in the background.

Can anyone recommend a better approach? I was hoping for something like www.Remote Approach.com

Thanks!

jt



Replies:
Posted By: bogey
Date Posted: 27 Feb 06 at 7:23AM

I don't know if you can embed AJAX style requests in the PDF javascript, but it might be worth a try. Try something like this:

var request = new ActiveXObject("Microsoft.XMLHTTP");
request.open("get", postURL, true);
request.send;

or

request.open("post", postURL, true);
request.send("123");

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk