[Phplib-users] Session,Auth,Perm
Brought to you by:
nhruby,
richardarcher
|
From: White, B. <rc...@sb...> - 2001-08-20 15:00:09
|
Hi All,
I can't seem to get session, auth and perm to work right.
I have at the top of my page:
<?php
page_open(array("sess"=>"ieweb_Session",
"auth"=>"ieweb_Auth",
"perm"=>"ieweb_Perm"));
if ($perm->have_perm("admin")):
<!-- Code that I want to protect -->
endif;
page_close();
?>
I get a login screen, I try to login under a user that has only "user"
rights and it still lets me in. The local.inc is as delivered except
modified for my ieweb... subclasses.
Help! Please,
Bob White
|