Link to home
Start Free TrialLog in
Avatar of solution1368
solution1368

asked on

asp.net, pdf

I have a asp.net gridview to show pdf directory information. like <a href="http://www.hello.com/reports/printpdf.pdf">Print</a>

So under "Reports" folder, we have 1000 pdf there. My question is. I don't want public user without login websites to download the document.

how can we do that?
Avatar of karthi7688
karthi7688

Keep track of the users in session variable and check for the session value during download.
Hope this helps.
ASKER CERTIFIED SOLUTION
Avatar of aplusexpert
aplusexpert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of solution1368

ASKER

by: aplusexpert: can you show me how?