SESS updateSessionTime

提供: GeeklogJpWiki

lib-session.php>SESS_updateSessionTime


説明

 boolean SESS_updateSessionTime (string $sessid, [int $md5_based = 0]) 

Updates a session cookies timeout タイムアウトしたセッション・クッキーを更新する

Refresh the start_time of the given session in the database. This is called whenever a page is hit by a user with a valid session.

データベース上の所与のセッションの開始時刻を更新する。ユーザーによる有効なセッションでページが閲覧された際にはいつも呼び出される関数。

パラメータ

$sessid
Session ID to update time for
$md5_based
Indicates if sessid is MD5 hash

返り値

return: always true for some reason

参考

使用例

個人用ツール