download as pdf

C

CreativeMind

hi all,
i hav to work on a link [ download as pdf]..
actually i m working on aspx page which shows the data after
retrieving values from db.now i want to
make the page downloadable as pdf. what i m thinking is to use
itextsharp. it will
create a pdf file on the server. then call a generic handler page that
will show
the download dialog..but i m afraid if multiple user download the
files, my
server will be full of those pdf stuff... what is the better way to
download the web
page as pdf file..
thx
 
A

Andrew Morton

CreativeMind said:
i hav to work on a link [ download as pdf]..
actually i m working on aspx page which shows the data after
retrieving values from db.now i want to
make the page downloadable as pdf. what i m thinking is to use
itextsharp. it will
create a pdf file on the server. then call a generic handler page that
will show
the download dialog..but i m afraid if multiple user download the
files, my
server will be full of those pdf stuff... what is the better way to
download the web
page as pdf file..

You could tell the users they only have (say) 24 hours to download. Then, in
the routine which creates the pdf, delete all files older than that time.
That way, the next time someone causes it to create a pdf, the old ones are
cleared out.

Remember to make sure you don't get identical names for what should be
different files.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top