|
Auth: two instances on the same page: msg#00324php.pear.general
Hi, Is it possible to have two instances of Auth running on the same page? I'd like to do something like: if ($auth1->checkAuth()) { // some code } if ($auth2->checkAuth()) { // some other code } setting the session name to something different for each instance doesn't help, I think each instance of Auth should have it's own space in the session like $_SESSION['AUTH']['auth1'].... and $_SESSION['AUTH']['auth2'] .... but I don't think Auth works like that. Can anyone elaborate on this? TIA, Jeroen -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: QF: smarty renderer and element names with brackets []: 00324, Jeroen Houben |
|---|---|
| Next by Date: | Re: MDB with MS sql server: 00324, Thierry Bothorel |
| Previous by Thread: | QF: smarty renderer and element names with brackets []i: 00324, Jeroen Houben |
| Next by Thread: | Re: Auth: two instances on the same page: 00324, Lorenzo Alberton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |