Sublime directory Surf the web anonymous Pagerank Monitor


Auto log in to second database application

tsumrall
Tue 13 October 2009, 05:27 pm GMT +0200
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.


Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional