UNB Components Code Reference

session.class.php contents

This file contains the UnbSession class.

Classes

UnbSession

Constants

SessionName '' Session name. Set to '' to use an automatic name. See PHP's session_name() for details. Line 24
SessionIpNetMask 0xFFFFFF00 Session IP address netmask. Set to 0 to disable this security check. TODO: Support IPv6 Line 27
SessionExpireTimeout 60 Session expiration timeout in minutes. Set to 0 to disable this security check. Line 29
CookieDomain '' Session cookie domain. Set to '' to use the default value. Line 31
CookiePath '' Session cookie path. Set to '' to use the URL path of the calling script. Line 33
SessionArrayVar 'UNB' Name of the array in $_SESSION where all UNB session data is stored into Line 35
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 39

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.