CookieSessionHandler (Session)

CookieSessionHandler

class CookieSessionHandler implements SessionHandlerInterface (View source)

Methods

void __construct( QueueingFactory $cookie, int $minutes)

Create a new cookie driven handler instance.

open($savePath, $sessionName)

[email protected]}

close()

[email protected]}

read($sessionId)

[email protected]}

write($sessionId, $data)

[email protected]}

destroy($sessionId)

[email protected]}

gc($lifetime)

[email protected]}

void setRequest( Request $request)

Set the request instance.

Details

void __construct( QueueingFactory $cookie, int $minutes)

Create a new cookie driven handler instance.

Parameters

QueueingFactory $cookie
int $minutes

Return Value

void

open($savePath, $sessionName)

Parameters

$savePath
$sessionName

read($sessionId)

Parameters

$sessionId

write($sessionId, $data)

Parameters

$sessionId
$data

destroy($sessionId)

Parameters

$sessionId

gc($lifetime)

Parameters

$lifetime

void setRequest( Request $request)

Set the request instance.

Parameters

Request $request

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Session/CookieSessionHandler.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部