Is there a way to record views to a pdf document

I have a simple application.cfc file that I placed in the folder with the pdf documents. I need to record the useage to these documents for management. It will record the views when a user goes to a html page or cfm page but not the pdf. Is there a way to count these?
I'm including my hit counter code from the application.cfc file although it does work for web pages. 
<cffunction name="OnRequestStart" returntype="boolean" output="true">
<cfquery name="addhit" datasource"#ds#">
     insert into hits
(remote_address, page, date)
Values
('#remote_addr#','#script_name#',''#today#')
</cfquery>
<cfreturn true>
</cffunction>
I've also tried moving this in the folder above thinking that may affect it but still the same results - no counts for the pdf documents.  Any suggestions?

The pdf files are not being recorded with your application.cfc because pdf files are not handled by ColdFusion.  As such they do not go through the ColdFusion request cycle (including application.cfc). 
I guess you could create a ColdFusion template to serve your pdf files.  Then the request would go through application.cfc.  Not sure that's the direction I would take just to report usage stats.  Are you using any web analytics tool with your site (WebTrends, Google, etc.)?  Those tools can report on file accesses.  Or you could analyze the web server's log files yourself to see how many times the pdf files are being downloaded.

Similar Messages

  • Is there a way I can view all apps I have ever downloaded?

    Is there a way I can view all apps I have ever downloaded? Like some sort of historical list associated to my account?
    It would help a great deal- I restored my phone from a backup after my iphone crashed- but I had downloaded many apps since then, so now I have to re-download all the missing apps. Thing is I cant remember all of them?
    Anone else have the same problem?

    Have you never synced your phone? Syncing puts copies of each app into iTunes for you to manage and have available to sync over when you want.
    Other than that, in iTunes, from top menus (forget which one, think under help) you can access your account and then view purchase history.

  • Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files?

    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    For instance I have 1200 photos on my iPhone Camera Roll. Some of these are shots, that I've taken multiple times, some good, some bad. I just want to clean up my Camera Roll, but going through the pictures on the iPhone's small screen is tedious. I'd much rather look at the camera roll's photo's on my Mac, and then decide which files I'd like to keep, and which to delete.
    I don't want to import the files, as when I import the files, and delete them from Camera Roll, now the Photo's are not on my phone, and the only way to get them back on my Phone is to Import them back in using iTunes, and then they go into the Picture Library and not the Camera Roll.
    In the same way as I can view Pics from my digital camera's SD card on a Mac without having to actually copy them to my computer, is there any app out there that will let me view my iPhone pics without importing them.

    gsharp01 wrote:
    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    The short answer is yes.
    Connect your iPhone to your computer.
    Open Image Capture application.
    Click on the 4 little squares at bottom to view them as photos, not a list.
    Select the photos them click the No Entry icon at bottom to delete.

  • Is there a way I can view/manage devices linked to my iCloud account?

    Is there a way I can view/manage devices linked to my iCloud account? I know how to view the devices linked to my iTunes account, but I am not sure if this is possible to see with an iCloud account.

    You can't, except by seeing if they are using services associated with the account.  You could, for example, launch Find My iPhone on iCloud.com to see what devices appear (which obviously wouldn't show devices not using Find My iPhone).  Similarly, you could go to Settings>iCloud>Storage & Backup>Manage Storage to see what devices appear on the Backups list (which won't show devices not using iCloud backup).

  • Is there a way for AutoVue viewer (JVue/VueBean object) to cancel long lasting loading/rendering operation?

    Is there a way for AutoVue viewer (JVue/VueBean object) to cancel long lasting loading/rendering operation? In our integration when we try to switch from a document being loading on another one we can get an error message “Cannot load page” (but the document is shown after that). Or if we try to stop loading document by calling jVue.closeDocument() we can see everlasting progress bar and indicator “Loading…” on the status bar.

    No, it is not possible

  • Is there a way to RECORD the mouse as a pointer when recording?

    Is there a way to RECORD the mouse as a pointer when recording a voiceover on a slideshow?  I want to use the mouse as a pointer (I know how to do that live), but the recorded show does not show my motions as I voiced.

    Oh, I see. I don't have Keynote, I've only recorded my screen for other things, so I don't know about that. Maybe someone else can help.

  • Cs5 , Is there a way to record a script or convert an action to a script?

    Hi
    i understand nothing about script
    but is there a way to record a script?
    i mean like an action
    for example click and select a tool , the hand tool , and let photoshop write the script (that have the command to select the hand tool)
    or is there a tool to convert an action to a script?
    thanks
    cheers

    xbytor provides ActionToJavascript in xtools.
    http://ps-scripts.sourceforge.net/xtools.html
    thanks
    hope it's easy to use
    But why do you not post on the Photoshop Scripting Forum?
    because i know nothing about photoshop scripting
    i mean i really know nothing, i guess to post in the photoshop scripting forum needs some skills and i haven't
    thanks
    cheers

  • Is there a way to record sounds from keyboard as they are?

    So I have a musical keyboard that I've attached to my macbook to record in Garageband. I have a ton of sounds on my keyboard from percussion, brass, piano, etc.
    When I record, for example, a trumpet sound from my keyboard into Garageband, Garageband just records the notes using its one version of trumpet or piano or whatever.
    How do I get GarageBand to just record the sound as is?
    I tried the "real instrument" track option but that ends up record all sound from the microphone on the MacBook and not recording the sound through the MIDI connection.

    goneil wrote:
    Is there a way to record sounds from keyboard as they are?
    http://www.bulletsandbones.com/GB/GBFAQ.html#recordkeyboardssounds
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • I have a password protected Numbers document I created on my MAC and share via DROPBOX. Is there any way to simply view this doc on my IPAD without purchasing NUMBERS for the IPAD?

    I use NUMBERS on my MAC to create a password protected document.  I share this doc via DROPBOX.  Is there any way I can view the doc on my IPAD without purchasing NUMBERS for the IPAD?  The doc opened fine on the IPAD before protecting it with a password.

    Using the term "opened" may have been incorrect on my part.  Before password protection, I simply viewed the doc by selecting it within my DROPBOX app.  No revisions could be made, but I could view the doc.    Now, with the doc password protected, the IPAD states this file can not be viewed.
    The IPAD users guide gives a list of files IPAD can view. Unfortunately, I find no info on how to open/view that file should it be protected. If
    THANKS

  • Is there a way to record just the arpeggios and not the notes being played?

    I am recording the Arpeggios from my Motif rack ES into Logic Pro 7.2 in midi format but when I try to do this, the notes that I play on the keyboard also get recorded along with the arpeggios? Is there a way to record just what's coming out of the midi out (of motif rack es) and not the keys that you are pressing to kick off the arpeggio?

    Either check your Motif's owners manual to see if you can disable the keys or make sure the keys are out of the arpeggio's range and use a transform object in the environment to filter out the unwanted notes.
    jord

  • HT201250 I've been working on a newsletter and have the final version. But I wanted to check something in a version I did last week. If I choose the day in Time Machine, is there any way I can view that document without "restoring" it to replace the final

    I've been working on a newsletter and have the final version. But I wanted to check something in a verssion I did last week. If I choose the day in Time Machine, is there any way I can view that document without "restoring" it to replace the final version?

    You can drag and drop a file from TM to the desktop.
    Let's say your newsletter is on the desktop. First thing to do is to add something to the file name, say Newsletter_1.
    Next open TM as if it is just another external drive by double clicking the icon. (This is not the same as "Enter Time Machine" which you do when you want to restore.) The file hierachy in TM follows the same logic as on your hard drive. Navigate to the date you want, find the file you want, and drag and drop it where you want it to be. Because you changed the name of the most recent version you can both files in the same space.
    I do this often.
    But remember if you make a back up now you will end up with both versions in TM.

  • Is there any way to record a whole call that is st...

    My Skype recorder glitched and I lost the recording. The call is still going; is there a way to record the call from the beginning? Thanks.

    Recording off Skype is like recording off the radio (if that's even done anymore), it's not like a DVR.  The best you can do is continue to record the current audio.  If you can resurrect whatever portion you saved earlier you may be able to splice the audio together.  If  your recorder didn't record it, then there isn't  anything to retrieve since Skype doesn't record your calls.

  • I am using the PCI-6110E/​6111E with the NI-DAQ software version6.7​.Is there a way to record at the same time analog and digital channels?I​f,ye

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is there a way to record at the same time analog and digital channels?If,yes can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition
    stops by a trigger?.
    Thank you for your interest in advance

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.PALE wrote:
    >
    > I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is
    > there a way to record at the same time analog and digital
    > channels?If,yes can I have timestamps for each sample?I mean,is there
    > a notion of time information on this board?Finally,is there a way to
    > know ,in the double buffer's case,the number of samples in the
    > halfbuffer which is not full if the acquisition stops by a trigger?.
    Start by looking around the examples that ship with LabVIEW (if you are
    using LabVIEW).
    Also look around zone.ni.com for general data acquisition information &
    examples. A good site.
    Mark

  • Is there a way to record a person's voice to use as a ringtone on my iphone?

    Is there a way to record a person's voice to use as a ringtone on my i phone?

    Hi!
    Yes, you can. I did it awhile ago by recording a voice memo and synching that memo to my computer. I then pulled up the memo in GarageBand, and used the ringtone template there to create the ringtone and share it back to iTunes, and re-synch to the iPhone. Once it's back on the iPhone, go to settings to assign it as a ringtone for a person, or as an alarm, alert, or whatever. Anyway, that's how I did it. There may be an app out there by now that would make the process simpler. Hope this helps!
    Sandygirl

  • IS there any way I can view Adobe Flash sites on my iphone?

    Is there any way I can view Adobe Flash enabled sites using my iPhone?

    Search the App Store. There are some browsers that process Flash at their servers, then sent it to the iPhone. They are generally slow and unreliable, though.

Maybe you are looking for

  • How to select records filter by the value which stored in xml field

    I read many datas to solve my problem,but those doesn't work... At first, I create a table in sqlserver CREATE TABLE [dbo].[Demo]( [ID] [int] IDENTITY(1,1) NOT NULL, [Content] [xml] NOT NULL Then I insert two records: INSERT INTO Demo(Content) VALUES

  • Upload multiple documents option is not visible for one user in SharePoint 2007.

    Hi, For one user Upload multiple documents option is not visible. We are using SharePoint 2007 environment. User is using IE 9 32 bit,Office 2010. I did repair office 2010. Active x controls are enabled. Please anyone help me on this. Thanks, Ashok

  • Do over on an apple imap account

    I want to delete a me.com imap account and let mail recreate it from scratch. Question is the saved mail folder that is "on my mac" will that be deleted, when I delete the account? If it is I can copy it to a folder on the me.com web app first.

  • Retaining information in a Package

    I've completed 3 forms in LiveCycle Designer 8. I have combined these forms in a Package in Acrobat Professonal and placed a clickable link to open those forms on a web page. I'm noticing that if the person filling out one of the forms goes to anothe

  • If else i dont get it

    Hi and hello. Here is my tricky problem. I have 5 boxes red_1, green_2, blue_3, black_4 and yellow_5. All boxes lined up, when i move blue_3 20 pixels to the y position, green_2 and black_4 should move 10 pixels to the y position. When i move blue_3