Hi all,
I'm using aspupload
and am using Upload.LogonUser "domain", "usrname", "password".
I'm wondering if there is anyway I could avoid hard-coding the password?
I've tried:
Set dbObj = Server.CreateObject("ADODB.Recordset")
dbObj.ActiveConnection = staff_login
dbObj.Source = "SELECT * FROM tblname WHERE username = '" & Session("username") & "'; "
Set Upload = Server.CreateObject("Persits.Upload")
Upload.LogonUser "domain", dbObj("fieldUsrname"), dbObj("fieldPassword")
but it doesn't work.
it does work if I hardcoded the username and password though....
any idea...?
thanks in advance :D