ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:session:reference:encryptionkey

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);
v5/session/reference/encryptionkey.txt · Last modified: 2018/07/01 22:03 by peterdd