ldgjr
Starting Member
USA
6 Posts |
Posted - 07 May 2001 : 18:54:53
|
Hi, I have installed the File Attachment MOD (along with the Polling MOD) on 3.1SR4. I have enabled NT Authentication. I can UPLOAD fine. When I try to DOWNLOAD, I get the message: Either you are not Registered, or Downloading is not enabled. from pop_download.asp:line 121
The test: Request.Form("Name") = "" is TRUE even though my NT UserName is displayed.
After checking the database and reading the code, it looks like to me that the code for the NT authentication in pop_download.asp, lines 72-77 is missing an input box to place the NAME is for the subsequent query.
I added the following line of code as line 78 and it seems to work now. Is this right or it there a "standard" fix to this problem?
Response.Write "<input name=""Name"" type=""hidden"" value=""" & Session(strCookieURL & "userid") & """>"
Thanks Larry Goldsmith
|
|