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

  • 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 92
Brocade Virtual ADX OpenScript API Guide 81
53-1003243-01
Methods
6
Example
OS_HTTP_RESPONSE::cookie_port ($name)
Gets the cookie ports 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.
Usage
Can be used to get the cookie ports.
Input Parameters
The following table contains the input values.
Return Values
The following table contains the output values.
Example
TABLE 91 Input Values
Name Type Description
$name string A string representing the cookie
name.
TABLE 92 Input Values
Name Type Description
string Value of the ports for the cookie
specified by $name.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
OS_HTTP_RESPONSE::cookie_domain("ServerID", "www.brocade.com");
}
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
my $cookie_ports = OS_HTTP_RESPONSE::cookie_port("ServerID");
}
Zobrazit stránku 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 131 132

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

Žádné komentáře