Date: 05/14/00
- Next message: Husmann, Rene: "[phplib] [PHPLIB] Error: login on every page"
- Previous message: SANIsoft: "Re: [phplib] Very trivial newbie question"
- In reply to: A. Gent: "[phplib] Very trivial newbie question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Include a page_open() call at the top of each page you want protected.
If the user is already authenticated, they should be able to access this
and other protect page(s). Use $perm->check({perms}) to set individual
page access. (See the showoff example and the Auth section of the manual
for how to do this).
Ignatius
"A. Gent" wrote:
>
> Hi,
>
> This is probably a very trivial question:
>
> I've got PHPLIB working and I've created password
> protected pages.
>
> Could someone tell me please, how to 'carry-on'
> authentication to other (otherwise protected) pages,
> within certain period of time?
>
> (I am expecting users to login at index.phtml, but I
> want to force them to login if they have not logged in
> at index.phtml and they are trying to access
> linkx.phtml - at the same time I don't want to force
> them to login over and over again once logged in and
> accessing the linkx.phtml pages.)
>
> Thank you for the help.
>
> Art
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Husmann, Rene: "[phplib] [PHPLIB] Error: login on every page"
- Previous message: SANIsoft: "Re: [phplib] Very trivial newbie question"
- In reply to: A. Gent: "[phplib] Very trivial newbie question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

