Delete cookie
Mage_Core_Model_Cookie
delete
(
string $name, [
string $path =
null], [
string $domain =
null], [
int|bool $secure =
null], [
int|bool $httponly =
null])
-
string
$name
-
string
$path
-
string
$domain
-
int|bool
$secure
-
int|bool
$httponly
Retrieve cookie or false if not exists
mixed
get
([ $name = null], string $neme)
-
string
$neme: The cookie name
-
$name
Retrieve Config Domain for cookie
string
getConfigDomain
()
Retrieve Domain for cookie
string
getDomain
()
Retrieve use HTTP only flag
bool
getHttponly
()
Retrieve cookie lifetime
int
getLifetime
()
Retrieve Path for cookie
string
getPath
()
Is https secure request Use secure on adminhtml only
bool
isSecure
()
Postpone cookie expiration time if cookie value defined
Mage_Core_Model_Cookie
renew
(
string $name, [
int $period =
null], [
string $path =
null], [
string $domain =
null], [
int|bool $secure =
null], [
$httponly =
null])
-
string
$name: The cookie name
-
int
$period: Lifetime period
-
string
$path
-
string
$domain
-
int|bool
$secure
-
$httponly
Set cookie
Mage_Core_Model_Cookie
set
(
string $name,
string $value, [
int $period =
null], [
string $path =
null], [
string $domain =
null], [
int|bool $secure =
null], [
$httponly =
null])
-
string
$name: The cookie name
-
string
$value: The cookie value
-
int
$period: Lifetime period
-
string
$path
-
string
$domain
-
int|bool
$secure
-
$httponly