dolibarr 21.0.0-beta
filefunc.inc.php File Reference

File that include conf.php file and commons lib like functions.lib.php. More...

Go to the source code of this file.

Functions

if(!defined( 'DOL_APPLICATION_TITLE')) if(!defined('DOL_VERSION')) if(!defined( 'EURO')) if(!defined('LOG_DEBUG')) if(defined( 'DOL_INC_FOR_VERSION_ERROR')) dol_session_start ()
 Replace session_start()
 
 dol_session_regenerate_id ()
 Replace session_regenerate_id()
 
 dol_session_rotate ($sessionname='')
 Destroy and recreate a new session without losing content.
 

Detailed Description

File that include conf.php file and commons lib like functions.lib.php.

Definition in file filefunc.inc.php.

Function Documentation

◆ dol_session_regenerate_id()

dol_session_regenerate_id ( )

Replace session_regenerate_id()

Returns
bool True if success, false if failed

Definition at line 82 of file filefunc.inc.php.

◆ dol_session_rotate()

dol_session_rotate ( $sessionname = '')

Destroy and recreate a new session without losing content.

Not used yet.

Parameters
string$sessionnameSession name
Returns
void

Definition at line 94 of file filefunc.inc.php.

References dol_session_start().

◆ dol_session_start()

if(!defined('DOL_APPLICATION_TITLE')) if(!defined( 'DOL_VERSION')) if(!defined('EURO')) if(!defined( 'LOG_DEBUG')) if(defined('DOL_INC_FOR_VERSION_ERROR')) dol_session_start ( )

Replace session_start()

Returns
void

Definition at line 72 of file filefunc.inc.php.

Referenced by dol_session_rotate().