/sources/users_inactive_occasionals.php

Description
Functions
cookie_login (line 269)

Do a cookie login.

  • return: Logged in member (NULL: no login happened)
MEMBER cookie_login ()
create_session (line 123)

Set up a new session / Restore an existing one that was lost.

void create_session (MEMBER $member)
  • MEMBER $member: Logged in member
force_httpauth (line 208)

Force an HTTP authentication login box / relay it as if it were a posted login. This function is rarely used.

void force_httpauth ()
httpauth_login (line 226)

Try and login via HTTP authentication. This function is only called if HTTP authentication is currently active. With HTTP authentication we trust the PHP_AUTH_USER setting.

  • return: Logged in member (NULL: no login happened)
?MEMBER httpauth_login ()
set_session_id (line 379)

Set the session ID of the user.

void set_session_id (integer $id, [boolean $guest_session = false])
  • integer $id: The session ID
  • boolean $guest_session: Whether this is a guest session (guest sessions will use persistent cookies)
su_login (line 85)

Filter a member ID through SU, if SU is on and if the user has permission.

  • return: Simulated member
MEMBER su_login (MEMBER $member)
  • MEMBER $member: Real logged in member
_enforce_sessioned_url (line 28)

Make sure that the given URL contains a session if cookies are disabled.

NB: This is used for login redirection. It had to add the session id into the redirect url.

  • return: The fixed URL
URLPATH _enforce_sessioned_url (URLPATH $url)
  • URLPATH $url: The URL to enforce results in session persistence for the user

Documentation generated on Sun, 02 Jan 2011 23:27:54 +0000 by phpDocumentor 1.4.3