Click here to Skip to main content
15,896,207 members

Comments by Chetan Patel (Top 2 by date)

Chetan Patel 16-Sep-14 2:35am View    
Use HTTPHandler to validate the user. where you can write the pdf file as response for valid users and also you can pass message for invalid user's. as you can set the type of HTTP response.
You just need to add one Handler class to handle the request. then configure it to web.config ex://

<httphandlers>
<add type="<namespace>.<classname>,<Assemblyname>" path="*.pdf" verb="GET">

Chetan Patel 20-Mar-12 0:32am View    
This is proper answer, you may resolve your issue with this hint.