RE: [Phplib-users] Reauthentication Woes
Brought to you by:
nhruby,
richardarcher
From: T. R. <Te...@Te...> - 2003-08-15 14:10:56
|
HAH! That's was it! I had one really old script that called "Example_Auth" instead of my customized auth class. Thanks for the help! ....now I can get back to work! -----Original Message----- From: Nathaniel Price [mailto:np...@te...] Sent: Thursday, August 14, 2003 2:22 PM To: T. Riedel; php...@li... Subject: Re: [Phplib-users] Reauthentication Woes Hmm... based on your description of everything, it /should/ be working. A few thoughts come to mind: 1) Do you have any global variables with the name of $sess or $auth (and if you want to be super-careful, check for $perm and $user as well) in your scripts? PHPlib registers and uses these variables to store the session and authentication objects. If any script resets these variables, it will probably cause weirdness. 2) Are you using different subclasses of Auth on different pages? That might cause some hard to track down bugs, if each subclass handles anything significantly differently. 3) Which version of PHP and PHPlib do you use? If you aren't using the latest release (7.4-pre2) of PHPlib, and you have PHP set up with import_globals set to false, it won't work properly, although the symptoms don't match up exactly (you shouldn't be able to log in at all under these conditions). It is also possible that there might be a bug in the "stable" (7.2d) release that has been fixed in one of the later releases. You might post some more psuedo code from your app as well, since I can't really tell much from your description. _________________________________ Nathaniel Price Webmaster <http://www.tesseract.net> ----- Original Message ----- From: "T. Riedel" <Te...@Te...> To: "'Nathaniel Price'" <np...@te...>; <php...@li...> Sent: Thursday, August 14, 2003 10:45 AM Subject: RE: [Phplib-users] Reauthentication Woes > Thanks for the quick response Nathaniel! > > I grepped *.php for page_open and compared it to a grep for page_close. > Everything that opens a page, closes it. While I was checking the PHP > scripts, I also performed the same check on all my included files and they > all checked out too. > > That was good suggesion though, anything else that comes to mind? |