extends |
Hm_PHP_Session_Data |
|---|---|
uses |
Hm_Session_Auth |
PHP Sessions that extend the base session class
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
protected
|
authed(Hm_Request $request, boolean $fingerprint): null
Setup newly authenticated session
Setup newly authenticated session |
# | ||||||
public
|
check(object $request, string $user = false, string $pass = false, $fingerprint = true): bool
Check for an existing session or a new user/pass login request
Check for an existing session or a new user/pass login request Parameters
Overriden byImplements |
# | ||||||
public
|
start(Hm_Request $request): void
Start the session. This could be an existing session or a new login
Start the session. This could be an existing session or a new login Parameters
Overriden byImplements |
# | ||||||
public
|
set_session_params(Hm_Request $request): array
Setup the cookie params for a session cookie
Setup the cookie params for a session cookie Parameters
Returnslist of cookie fields |
# | ||||||
public
|
close_early(): void
Write session data to avoid locking, keep session active, but don't allow writing
Write session data to avoid locking, keep session active, but don't allow writing Overriden by |
# | ||||||
public
|
destroy(Hm_Request $request): void
Destroy a session for good
Destroy a session for good Parameters
Overriden by |
# | ||||||
public
|
end(): void
End a session after a page request is complete. This only closes the session and
does not destroy it
End a session after a page request is complete. This only closes the session and does not destroy it Overriden byImplements |
# | ||||||
| Methods inherited from Hm_PHP_Session_Data |
|---|
validate_session_data(), start_session_data(), get(), set(), del(), save_data() |
| Methods inherited from Hm_Session |
|---|
auth(), __construct(), load_auth_mech(), dump(), just_started(), record_unsaved(), is_active(), is_admin(), ciphertext(), plaintext(), set_key(), get_key(), secure_cookie(), delete_cookie() |
| Methods used from Hm_Session_Fingerprint |
|---|
check_fingerprint(), build_fingerprint(), set_fingerprint() |
| Methods used from Hm_Session_Auth |
|---|
load_auth_mech(), auth(), save_auth_detail(), change_pass(), create() |
| Properties | |||
|---|---|---|---|
public
|
|
$conn
|
# |
protected
|
|
$existing = false
|
# |
| Properties inherited from Hm_Session |
|---|
$loaded, $active, $internal_users, $enc_key, $auth_class, $site_config, $data, $cname, $auth_mech, $session_closed, $session_key, $lifetime |