Topic: Auto log in to second database application (Read 300 times)
Just another rainy day
Posts: 1
10 credits Members referred : 0
« on: Oct 13, 2009, 06:27:22 pm »
First, Thank you for the user class. Very handy!
Second is a bit of a problem. I have 2 seperate applications running. Each have different users. I can log in to one and if I switch to the other I am automactically logged in under the userID from the second database.
Example: I log in to app 1 and my userID = 3. I switch to app 2 and I'm logged in but as the other userID=3.
Evidently logged in is logged in regardless of what page I am on or what database I am pointing to.
Do I need a automatic log out when leaving app 1?
How can the class be made to know the difference between the 2 apps?
I could start my auto increment for userID on the second database at a very high number but that's a work around.
Thanks for your help.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=9216