SESS setSessionCookie

提供: GeeklogJpWiki

lib-session.php>SESS_setSessionCookie

目次

説明

 void SESS_setSessionCookie (string $sessid, int $cookietime, string $cookiename, string $cookiepath, string $cookiedomain, int $cookiesecure) 

Sets the session cookie セッション・クッキーを設定

This saves the session ID to the session cookie on client's machine for later use

セッションIDをセッション・クッキーの一部としてクライアント(ユーザー)のマシーンに保存し、後の利便に供する。

パラメータ

$sessid
Session ID to save to cookie
$cookietime
Cookie timeout value (not used)
$cookiename
Name of cookie to save sessiond ID to
$cookiepath
Path in which cookie should be sent to server for
$cookiedomain
Domain in which cookie should be sent to server for
$cookiesecure
if =1, set cookie only on https connection

返り値

参考

使用例

個人用ツール