View Single Post
  #2 (permalink)  
Old 06-10-2007, 05:30 PM
Rex M Rex M is offline
Novice
Join Date: Jun 2007
Posts: 8
iTrader: (0)
Rex M is on a distinguished road
The best way is to use an HTTPHandler. Essentially these are classes which "trap" the server request for any kind of file you want (in this case, a .pdf file) and process the class instead. If the user is logged in, you can then look up the PDF filename that is being requested and write it to the output stream.

Start by Googling HTTPHandler and reading the documentation/examples.

__________________
Powered by Yahoo! Answers
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!