File download isn't working

Posted by Shahanaakter under ASP.NET on 4/20/2016 | Points: 10 | Views : 351 | Status : [Member] | Replies : 1
Hi,

After completing my upload a file when I press the download button, it's log out the system. Only download button is working for once. What is the reason.?

Regrads,
Shahana Akter

Feel free to share informations


Responses

Posted by: Sheonarayan on: 4/20/2016 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
There is no reason in ASP.NET that stops you from downloading the file unless you have following

1. You have restricted the access of folder (or file) location from the code or in .config file.
2. You are trying to execute some code that gets executed when download link is clicked and you are somehow removing the authentication cookies.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Shahanaakter, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response