UNB Components Code Reference

session.class.php contents

This file contains the UnbSession class.

Classes

UnbSession

Constants

UnbSession::SessionName ''

Session name. Set to '' to use an automatic name. See PHP's session_name() for details.

Line 25
UnbSession::SessionIpNetMask 0xFFFFFF00

Session IP address netmask. Set to 0 to disable this security check. TODO: Support IPv6

Line 28
UnbSession::SessionExpireTimeout 60

Session expiration timeout in minutes. Set to 0 to disable this security check.

Line 30
UnbSession::CookieDomain ''

Session cookie domain. Set to '' to use the default value.

Line 32
UnbSession::CookiePath ''

Session cookie path. Set to '' to use the URL path of the calling script.

Line 34
UnbSession::SessionArrayVar 'UNB'

Name of the array in $_SESSION where all UNB session data is stored into

Line 36
UnbSession::DefaultEncryptionKey 'UNB2_Key_1234567890'

Default system encryption key. Set a different key via the configuration setting "encryption.key". At maximum 32 bytes are used as key. Any additional length is ignored and does not enhance security. TODO: Make this a variable and use some constant system information for the default key.

Line 40

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.