Example #1
0
function sess_read($key)
{
    global $lr_session;
    $lr_session = new UserSession();
    $lr_session->create_from_cookie($key, $_SERVER['REMOTE_ADDR']);
    return $lr_session->is_valid();
}