[phplib] More on default auth From: Robin Bowes (robin.bowes <email protected>)
Date: 07/24/00

Hi,

[phplib 7.2c, PHP 4.0.1pl2, apache 1.3.12, mysql 3.23.21-beta]

There seem to be problems with the sessions mechanism with this setup.

I've set up the sample pages that come with phplib, and all seems to be
working correctly - except the default auth page.

When I access www.internal.dom/phplib I get the standard "index.php3" page
(I'm using an internal server, hence the domain). Pressing "Reload" doesn't
cause the "Per Session Data" to be incremented, as expected.

Loading the "more complex" example, I am prompted to login. I login as
"kris/test" and get the "complex" page. When I press "Reload" I am prompted
to login again - this isn't right, is it? Looking further down the page at
the active_sessions_data table, something appears wrong here too - the
correct column headings are not shown and there is no data in the table.
Here's what I see (obviously, text-only)

active_sessions data
Only the newest ten session entries are shown:
table name type len flags
 Example_Session
 Example_User

Note that the column names are the same as the previous table on the page,
ie. the illustration of the active_sessions metadata.

I now logout and the logout page appears.

If I now reload the "simple" page, it appears.

If I now load the default auth example page, it appears but tells me I am
"kris" with "admin" permissions.

Has anybody else experienced these problems? Any idea what's up? Is it
something to do with the combination of software versions that I'm using,
i.e. can anyone reproduce this with earlier versions of phplib and/or php ?

Thanks for any suggestions.

R.

--
"Oh, love is real enough; you will find it someday, but it has one
archenemy -- and that is life."

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>