ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:session:reference:adodb_session_regenerate_id

This is an old revision of the document!


This command is deprecated as of ADOdb V5.21 and will be removed in ADOdb V6

adodb_session_regenerate_id

Syntax
bool adodb_session_regenerate_id()

Description

Since PHP V4.21, this function has simply been a wrapper for the PHP function session_regenerate_id() .

Usage

 
include_once 'adodb/adodb.inc.php';
include_once "adodb/session/adodb-session2.php";
 
ADODB_session::config($driver,$host,$user,$pass,$database);
 
$_SESSION['key1'] = 'value1';
$_SESSION['key2']['sub1'] = 'subvalue1';
$_SESSION['key2']['sub2'] = 'subvalue2';
 
 
 
adodb_session_regenerate_id();
v5/session/reference/adodb_session_regenerate_id.1463872435.txt.gz · Last modified: 2017/04/21 11:38 (external edit)