I need to provide a user name and login for a site and have the info passed to each page with an include file. I found an example and it works perfectly. I just need to change it so the password and username is taken from my Access database. I think all I need to change is this function below:<BR><BR>Function ValidateLogin( sId, sPwd ) <BR>ValidateLogin = False<BR>If sId = "admin" AND sPwd="adminpass" Then<BR>ValidateLogin = True<BR>End If<BR>End Function<BR><BR>Thanks in advance for your help!