ADOdb_Session::encryptionKey

Syntax
string ADOdb_Session::encryptionKey(
  optional string $key
  )

Description

The static method encryptionKey overrides the default salt string used when creating a session key

The value must be set before config() is called

Use As A Getter

When used without parameters it returns the currently set value

Usage

include_once 'adodb/adodb.inc.php';
include_once "adodb/session/adodb-session2.php";
 
ADOdb_Session::sessionKey('THIS IS MY SALT STRING');
ADOdb_Session::config($driver,$host,$user,$pass,$database);