ken2014 Posted March 17, 2014 Share Posted March 17, 2014 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? Thanks, Ken Link to comment Share on other sites More sharing options...
Larry Posted March 21, 2014 Share Posted March 21, 2014 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 comment Share on other sites More sharing options...
Recommended Posts