Http

Class Http

package

Ascmvc\Session

Methods

Gets a cookie by name.

getCookie(string $name = '') : null

Arguments

$name

string

Response

null

Returns the $_SERVER array.

getServerGlobalEnv() : mixed

Response

mixed

Sets a new cookie.

setCookie(string $name, string $value = "", integer $expire, string $path = "", string $domain = "", boolean $secure = false, boolean $httponly = false) : boolean

Arguments

$name

string

$value

string

$expire

integer

$path

string

$domain

string

$secure

boolean

$httponly

boolean

Response

boolean