View Full Version : page not working - not shoing error message?
I have unticked show friendly error messages?!
abduraooft
08-28-2008, 11:17 AM
Not being rude, but this pursue me to ask what? why? how? where?
Bullschmidt
09-03-2008, 07:40 AM
Perhaps from your point of view there is an error but no error message was generated. This can happen for example when you set a variable to be something in two separate places.
Of course Response.Write's are a good way to do some debugging to see if variables or recordset fields really contain the information you think they should.
For example in a login page where the user's access level is assigned to a session variable one could do something like the following:
Response.Write objRST("UserName") & "<br>"
Response.Write objRST("UserPassword") & "<br>"
Response.Write objRST("UserAccess") & "<br>"
Response.Flush
Response.End
The second of the last line above is often required if buffering is set on (Response.Buffer = True) which it perhaps usually would be.
The last line above is optional for if you need to stop the code from running after that point (i.e. to avoid a page redirect or something).
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.