Is there any to restrict user to download file onl
My first question Is there any to restrict user to download file only once<BR>Second question Is there any way to verify that user download file successfuly<BR><BR>Your response/sample code will be appreciate
Have a Database table defined with username and times of download as fields apart from filename field to keep track of what file he is downloading. <BR><BR>User_Restriction Table<BR>File1 : Username <BR>Field2 : FileName<BR>Field3 : Download_Count<BR><BR>Update this table every time a user is downloading... Increase the Download_Count. Next time when the user tries to download the same file, check for the entry in this table and if it is OK permit him, else, throw a error message.<BR><BR>I hope you know how to handle database from ASP.