Toggle navigation
Hot Examples
JP
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
setHttpOnly
AppserverIo\Appserver\ServletEngine\Http\Session::setHttpOnly PHP Method
Session Class Documentation
ファイルを表示
Open project: appserver-io/appserver
setHttpOnly()
public
method
Sets the flag that this session should only be used through the HTTP protocol.
public
setHttpOnly
(
boolean
$httpOnly
= true ) :
void
$httpOnly
boolean
TRUE if the session should only be used through the HTTP protocol
return
void
public function setHttpOnly($httpOnly = true) { $this->httpOnly = $httpOnly; }
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