Date: 03/20/00
- Next message: Arno A. Karner: "Re: [PHPLIB] Fwd: alternative user/group/perm scheme"
- Previous message: Mocha PHPLIB: "[PHPLIB] Fwd: alternative user/group/perm scheme"
- In reply to: Carl Youngblood: "[PHPLIB] Error using different DBs for sess and auth"
- Next in thread: Jeroen Laarhoven: "Re: [PHPLIB] Error using different DBs for sess and auth"
- Reply: Jeroen Laarhoven: "Re: [PHPLIB] Error using different DBs for sess and auth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 20 Mar 2000, Carl Youngblood wrote:
}When I move the user table to the same DB as the session table and
}change my declarations accordingly, this error goes away. But I should
}be able to use different DBs for the auth and sess classes, especially
}when I would like to put other stuff in the user table and keep it in
}the same DB as other tables that would join off of it.
Nope, this dosn't work with PHPLIB. This is not, cause PHPLIB cannot
handle it, it is cause of PHPs caching mechanism of DB-connections.
}Any help would be greatly appreciated.
}
}Carl Youngblood
}
}P.S. While you're at it, can anyone explain to me how to generate a proper
}user ID when I create a new user, now that the user ID in the auth_user
}table is 32 characters of gobbletygook? I'm used to PHPLIB 6.1.
E.g.
$id=md5sum(uniqid(time()).$name.$street.$bla.$bla.$bla.microtime());
--SSilk - Alexander Aulbach - Herbipolis/Frankonia Minoris - (0931)22032
- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Arno A. Karner: "Re: [PHPLIB] Fwd: alternative user/group/perm scheme"
- Previous message: Mocha PHPLIB: "[PHPLIB] Fwd: alternative user/group/perm scheme"
- In reply to: Carl Youngblood: "[PHPLIB] Error using different DBs for sess and auth"
- Next in thread: Jeroen Laarhoven: "Re: [PHPLIB] Error using different DBs for sess and auth"
- Reply: Jeroen Laarhoven: "Re: [PHPLIB] Error using different DBs for sess and auth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

