Riddhi Valecha

Riddhi Valecha

  • 443
  • 3.3k
  • 413k

Dynamic Link Logs

Mar 20 2017 1:41 AM
Dear all,
 
I need help in the following task ..
 
1. We get all types of files (pdf, excel, word document, etc).
Task - We have to create a web url to view such files -
 Eg - http://abc.xyz.com/pqrs.pdf
 
Solution - A user will select a file from file upload control, and then hit "submit" button.
Result - A link http://abc.xyz.com/aaaabbbbccccddddeeeeff.doc - must be displayed.
 
Procedure -
1. create a folder in the D:\temp - Done
2. Paste the file there - Done
3. Make that default document in IIS - Done
 
Logs -
Such links are shared on emails.
 
One more requirement - Whenever any user clicks on the link, the log should be inserted -
Logs will have - windows users, IP Address, Current date and time, Link/URL ..
 
I need a logic such that whenever certain links are opened/clicked, then their logs must be inserted
 
Please help me out in this...
 
Please guide me with logs making.
 
Thank you all in advance..

Answers (2)