Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Instrukcja Użytkownika Strona 95

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 94
Brocade Virtual ADX OpenScript API Guide 83
53-1003243-01
Methods
6
Input Parameters
The following table contains the input values.
Return Values
The following table contains the output values.
Example
OS_HTTP_RESPONSE::cookie_maxage ($name, $value)
Sets the max age of the cookie specified by $name to the value specified by $value. If it is not
present there is no operation.
Context
This function called in http request context will have no effect.
Usage
Can be used to set the max age for a cookie.
Input Parameters
The following table contains the input values.
TABLE 94 Input Values
Name Type Description
$name string A string representing the cookie
name.
TABLE 95 Input Values
Name Type Description
string Value of the max age for the
ports for the cookie specified by
$name.
TABLE 96 Input Values
Name Type Description
$name string A string representing the cookie name.
$value Integer An integer representing the max age that you
want to set for the cookie specified by $name.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
my $cookie_maxage = OS_HTTP_RESPONSE::cookie_maxage("ServerID");
}
Przeglądanie stron 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag