Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
AppserverIo
Appserver
ServletEngine
Http
Session
putData
AppserverIo\Appserver\ServletEngine\Http\Session::putData PHP Méthode
Session Class Documentation
Afficher le fichier
Open project: appserver-io/appserver
putData()
public
méthode
Stores the given data under the given key in the session
public
putData
(
string
$key
,
mixed
$data
) :
void
$key
string
The key under which the data should be stored
$data
mixed
The data to be stored
Résultat
void
public function putData($key, $data) { $this->data[$key] = $data; }
Session
__construct
addTag
autoExpire
canBeResumed
checksum
destroy
emptyInstance
getData
getDomain
getId
getLastActivityTimestamp
getLifetime
getMaximumAge
getName
getPath
getTags
hasKey
init
isHttpOnly
isSecure
isStarted
putData
removeData
removeTag
resume
setDomain
setHttpOnly
setId
setLifetime
setMaximumAge
setName
setPath
setSecure
start