[phplib] how to check if logined in? From: Kenneth Siu (kenneth <email protected>)
Date: 02/26/01

I would like to ask how to check if a user has logined in?
like:
=======================================
page_open(array("sess" => "TFQ_Session",
                "auth" => "TFQ_Auth",
                "perm" => "TFQ_Perm"));

if is_login {
    $auth->logout();
    $sess->delete();
}

redirect to another login page.
=========================================

Actually, I want to prepare a login page that will clear all the previous
session variables before a new login session.

Please guide.

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