9, February 2010

Auto log in to second database application - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  Php User Class
Topic: Auto log in to second database application
« previous next »
Pages: [1] Print

Author 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
Tags : Log In log out seperate databases Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  Php User Class
Topic: Auto log in to second database application
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 09, 2010, 05:41:06 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!





Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2010 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.