This topic is locked

investigating logon problem with debug

3/1/2005 6:18:05 PM
ASPRunnerPro General questions
hanb author

I saw a post indicating the use vDebug = true, to get debug data.

I have tried to set vdebug = true in the logon_variables.asp, but where do I find the debug results. I need to see the logon data as there seems a mismatch between the typed logon data and the userid database, that I can't find by changing the setting in asprunner or in the database itself.
Can I print the current fields at the screen when it gives "invalid logon" ?
Han

Sergey Kornilov admin 3/3/2005

vDebug = true forces SQL statements to be printed on the ASP page however it won't print anything on the login page.
Here is what you can do. Open login.asp in text editor and make the following change:

Response.Write strSQL & "
"

Response.Flush
rs.open strSQL, dbConnection

Call ReportError


This will print SQL query on the top of login page.