Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hi Larry,


     First of all, thanks for the good book which really talks on what I needed.


     While running the example, it is noticed that during fault, all the variable has been printed on the screen, this included the database name, username, password. Would there be any better way to handle this scenario? 




Link to post
Share on other sites

Thanks for the nice words, Ken! Glad it's been helpful. 


It's not clear to me why the database info is displayed on the screen when an error occurs. Using the code from the book, that shouldn't happen (and is really bad). But generally speaking, I include a live/testing flag in my configuration files that automatically handle the display of debugging information in the proper way based upon that setting.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...