public static function initialize( $startSession = true )
    {
        \ini_set( 'session.gc_maxlifetime', self::SessionCookieGcTimeout + self::SessionCookieLifetime );
        \session_set_cookie_params( self::SessionCookieLifetime, self::SessionCookiePath );
        \session_start();

        //	Ensure we can write by registering a shutdown function
        \register_shutdown_function( 'session_write_close' );
    }