Class icms_core_Session
Handler for a session
Based on SecureSession class Written by Vagharshak Tozalakyan vagh@armdex.com Released under GNU Public License
Category: ICMS
Copyright: copyright (c) 2000-2003 XOOPS.org
License: GNU General Public License (GPL)
Author: Kazumi Ono onokazu@xoops.org
Located at core/Session.php
public static
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
boolean
|
#
icms_sessionRegenerateId( boolean $regenerate = false )
Update the current session id with a newly generated one To be refactored |
public
boolean
|
#
update_cookie( string $sess_id = null, integer $expire = null )
Update cookie status for current session To be refactored |
public
string
|
#
createFingerprint( )
Creates a Fingerprint of the current User Session Fingerprint stored in current $_SESSION['icms_fprint'] To be refactored |
public
boolean
|
#
checkFingerprint( )
Compares the Fingerprint stored in $_SESSION['icms_fprint'] by creating a new Fingerprint. If they match, the Session is valid. To be refactored |
public
|
|
public
|
|
public
|
#
sessionClose( string $uid )
Closes the Session & removes Session Cookies for specified User Id To be refactored |
public
|
#
sessionStart( string $sslpost_name = '' )
Creates Session ID & Starts the session removes Expired Custom Sessions after session Start |
public
integer
|
$securityLevel
Security checking level Possible value: 0 - no check; 1 - check browser characteristics (HTTP_USER_AGENT); 2 - check browser and IP A.B; 3 - check browser and IP A.B.C, recommended; 4 - check browser and IP A.B.C.D; |
#
3
|
public
integer
|
$ipv6securityLevel
Security checking level for IPv6 Address types Possible value: 0 - no check; 1 - check browser characteristics (HTTP_USER_AGENT); 2 - check browser and IPv6 aaaa:bbbb; 3 - check browser and IPv6 aaaa:bbbb:cccc; 4 - check browser and IPv6 aaaa:bbbb:cccc:dddd; 5 - check browser and IPv6 aaaa:bbbb:cccc:dddd:eeee; 6 - check browser and IPv6 aaaa:bbbb:cccc:dddd:eeee:ffff; 7 - check browser and IPv6 aaaa:bbbb:cccc:dddd:eeee:ffff:gggg; (recommended) 8 - check browser and IPv6 aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh; |
#
7
|
public
boolean
|
$enableRegenerateId
Enable regenerate_id |
#
false
|