src/Kisma/Core/Services/Session.php
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' );
    }
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' );
    }
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' ) ; }
Initializes the database

@static

@param bool $startSession
Initializes the database