Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manual de usuario Pagina 88

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 87
76 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
6
Context
This function called in http request context will have no effect.
Usage
Can be used to rewrite the cookie value.
Input Parameters
The following table contains the input values.
Return Values
None
Example
OS_HTTP_RESPONSE::cookie_version ($name)
Gets the version 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 retrieve the cookie version.
TABLE 81 Input Values
Name Type Description
$name string A string representing the cookie
name.
$value string A string representing the cookie
value.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
OS_HTTP_RESPONSE::cookie("ServerID", "1048");
}
Vista de pagina 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 131 132

Comentarios a estos manuales

Sin comentarios