Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Uživatelský manuál Strana 91

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 90
Brocade Virtual ADX OpenScript API Guide 79
53-1003243-01
Methods
6
Context
This function called in http request context will have no effect.
Usage
Can be used to set the cookie path.
Input Parameters
The following table contains the input values.
Return Values
None
Example
OS_HTTP_RESPONSE::cookie_domain($name)
Gets the cookie domain for the cookie specified by $name if it is present otherwise it returns
undefined.
Context
This function called in http request context will have no effect.
Input Parameters
The following table contains the input values.
TABLE 87 Input Values
Name Type Description
$name string A string representing the cookie
name.
$value string Value of the cookie path for the
cookie specified by $name.
TABLE 88 Input Values
Name Type Description
$name string A string representing the cookie
name.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
OS_HTTP_RESPONSE::cookie_path("ServerID", "/docs”);
}
Zobrazit stránku 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 131 132

Komentáře k této Příručce

Žádné komentáře