Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PHPSecureSession
SecureHandler
write
PHPSecureSession\SecureHandler::write PHP Method
SecureHandler Class Documentation
Show file
Open project: ezimuel/php-secure-session
write()
public
method
Encrypt the data and write into the session
public
write
(
string
$id
,
string
$data
)
$id
string
$data
string
public function write($id, $data) { return parent::write($id, $this->encrypt($data, $this->key)); }
SecureHandler
__construct
decrypt
encrypt
getKey
hash_equals
open
read
write