Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
AppserverIo
Appserver
ServletEngine
Http
Session
getData
AppserverIo\Appserver\ServletEngine\Http\Session::getData PHP Method
Session Class Documentation
显示文件
Open project: appserver-io/appserver
getData()
public
method
Returns the data associated with the given key.
public
getData
(
string
$key
) :
mixed
$key
string
An identifier for the content stored in the session.
return
mixed
The contents associated with the given key
public function getData($key) { return $this->data[$key]; }
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