Try as I might I cannot get the sample code to work. I think I spotted a missing double quote but I still get an error.<BR>The problem seems to occur in the validate.asp page with the SQL statement. At the moment I am using <BR>strSQL = "SELECT * FROM TblUsers WHERE UserName = " & strUserName & " AND Password = " & strPassword &""<BR>and get an http 500 internal error whenever I run the page. I have tried removing the WHERE clause and the page runs. The variables all seem OK - I used some response.writes to check them. Can anyone help? <BR>MTIA - Dan Harris