dolibarr  20.0.0-beta
Functions
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() More...
 
 dol_session_regenerate_id ()
 Replace session_regenerate_id() More...
 
 dol_session_rotate ($sessionname='')
 Destroy and recreate a new session without losing content. More...
 

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 81 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
$sessionnamestring Session name
Returns
void

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

◆ 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 71 of file filefunc.inc.php.