download as pdf

  • Thread starter Thread starter CreativeMind
  • Start date Start date
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
 
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
 
Back
Top