beautypg.com

Os_http_response::cookie_version ($name, $value), Input parameters, Return values – Brocade Virtual ADX OpenScript API Guide (Supporting ADX v03.1.00) User Manual

Page 89: Example, Context

background image

Brocade Virtual ADX OpenScript API Guide

77

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_version ($name, $value)

Sets the cookie version 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.

Input Parameters

The following table contains the input values.

Return Values

None

TABLE 82

Input Values

Name

Type

Description

$name

string

A string representing the cookie
name.

TABLE 83

Input Values

Name

Type

Description

string

Value of the cookie version
specified by $name.

TABLE 84

Input Values

Name

Type

Description

$name

string

A string representing the cookie
name.

$value

string

Value of the cookie version
specified by $name.

use OS_HTTP_RESPONSE;

sub HTTP_RESPONSE{

my $cookie_version = OS_HTTP_RESPONSE::cookie_version("ServerID");

}