View Full Version : Database Connections...
grim918
February 27th, 2006, 09:41 PM
I was wondering if it is a good programming habit to connect to two different databases in a single script. I want to create a seperate database which will hold information about failed logins and other types of information such as keeping track of who has viewed certain webpages. I want to keep this information in a separate database, but i don't know if it's a good idea. Will this create any problems, please let me know.
LordHunter317
February 27th, 2006, 09:53 PM
Why in the world you want to keep that in a seperate database?
Applications that connect to two DBs aren't a bad idea per se, but your idea sounds like a rediculously bad one.
The only valid reason I could think of is if the authentication data is shared among multiple applications but the page data is not, in which case, it's perfectly fine.
grim918
February 27th, 2006, 10:07 PM
ok thankz again. I just wondering if that was a good programming habit. Thank you.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.