Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF from asp 1

Status
Not open for further replies.

TheCandyman

Technical User
Sep 9, 2002
761
US
I have looked around and seen a few good examples of creating a PDF from a dynamic asp page but that's not my question.

Is there a way to make a PDF only open or expire after so many days of viewing? Or after X times opened? I think it would be a great option, but wondering if it's available?
 
I see how to make a PDF, but nothing about opening so many times or after so many days then expiring. Am i missing something?
 
My understanding is that LiveCycle Rights Management ES (mentioned in Features, left hand column) covers this.

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Hi!

I checked this LifeCycle stuff and it looks to me like some automation/workflow tool to handle the life cycle of processes rather than the life expectancy of a pdf.
But I have been wrong before. [tongue]

Anyway: one solution could be to
a) create a JavaScript for the "Document Will Close" event, in which you compare the current date with the pdf creation date

b) based on this difference you can write a condition like
"If diff > 7 days then"

c) If the difference exceeds your set period, you can simply set the pdf security thus that you need a master password to open the pdf.

d) last, not least, encrypt the document, so no one can manipulate the source code.


e) post these requests in the forum216

Hope this helps!
MiS

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
Do you want to stop serving it after a certain date or make the file self destruct somehow so even if they saved a copy of it they can't use it?
 
I want the file to because useless after a date or after so many days. I can stop serving it from the webpage easily with asp, that's not hard. Everywhere i look i just don't see that what i want is an option.
 
Yes i read it and it sounds pretty sweet. The issue is i have to create the PDFs on my desktop as the website i want to offer it through is not within my tweaking(it's a hosted website). So it needs to create dynamic PDFs with no human interaction on my end.

I don't see that's an option, so i may just end up doing a asp created dynamic pdf and just call it good.
 
Wow. They could have made that "in depth" link a bit larger.
Thanks, John!

Indeed sounds like THE ideal solution for this.
[thumbsup]

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
[smile] Thanks!

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top