Frenchy
You would be better off routing all of the I/O to write and read to a virtual
directory you have created via IIS
What Software Component do you use to create the PDF from Form Fields?
HTH,
Martin
----- Original Message -----
From: pfrenchy
To: [EMAIL PROTECTED]
Sent: Monday, May 17, 2004 3:27 PM
Subject: [AspClassicAnyQuestionIsOk] Create temp folder and delete on session ends
Questions/Plea for help lol
Question 1:
I have a bunch of forms when a user submits it creates a pdf of the form. I was
wondering if it is possible to create a temp folder of some kind on a 2003 server that
will house these temporary pdfs so that when the user closes the session with the
server this temp folder with (lets 6 or 7 pdf in it) would be deleted from the server?
Question 2:
Will the pdf be able to overwrite them selves if the user changes data on the on the
page that gives them the submitted results when they re submit the changed form. The
pdf's are named from one of the fields that are mandatory on the forms. If that field
is changed the the pdf would be renamed and overwrite would not be an issue.
example scenario:
there's a form with :
Firstname: = Joe
Lastname: = Jojomojo
username: = pdfmisery
password: = pdfisconfusing
account number: = 1234
user submits this form
the pdf is called 1234.pdf and saved to temp folder.
this form shows user what he submitted
Firstname: = Joe
Lastname: = Jojomojo
username: = pdfmisery
password: = pdfisconfusing
account number: = 1234
user changes Firstname to Joey
Firstname: = Joey
Lastname: = Jojomojo
username: = pdfmisery
password: = pdfisconfusing
account number: = 1234
user re submits form
database is updated
pdf is overwriten(as 1234.pdf) and saved to temp folder with new info in it so the
user can download it.
user closes browser
in five minutes of no actions with server the server ends the session and destroys
the temp folder with those pdf's inside. Is this possible and if so could someone post
some sample code to create the folder and destroy it. Any help would be greatly
appreciated. And thanks in advance for eventaking the time out of your day to even
read this.(If possible I would like the global.asa to be doing this)
[Non-text portions of this message have been removed]
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/