Citrix Systems 9.2 Benutzerhandbuch

Seite von 302
Chapter 6        Advanced Expressions: Parsing HTTP, TCP, and UDP Data
117
HTTP.RES.SET_COOKIE
or
HTTP.RES.SET_COOKIE2
Returns the HTTP Set-Cookie header object 
in a response.
HTTP.RES.SET_COOKIE("name")
or
HTTP.RES.SET_COOKIE2("name")
Returns the cookie of the specified name if it 
is present. If it is not present, returns a text 
object of length 0. Returns UNDEF if more 
than 15 Set-Cookie headers are present and 
the specified cookie was not found in these 
headers.
HTTP.RES.SET_COOKIE("name").
DOMAIN
or
HTTP.RES.SET_COOKIE2("name").
DOMAIN
Returns the value of the first Domain field in 
the cookie. For example, if the cookie is Set-
Cookie : Customer = "ABC"; DOMAIN=".
abc.com"; DOMAIN=.xyz.com, the 
following expression returns .abc.com:
http.res.set_cookie.
cookie("customer").domain 
A string of zero length is returned if the 
Domain field or its value is absent.
HTTP.RES.SET_COOKIE.
EXISTS("name")
or
HTTP.RES.SET_COOKIE2.
EXISTS("name")
Returns a Boolean TRUE if a Cookie with the 
name specified in the name argument exists in 
the Set-Cookie header. 
This prefix returns UNDEF if more than 15 
Set-Cookie headers are present and the named 
cookie is not in the first 15 headers.
HTTP.RES.SET_COOKIE.
COOKIE("name").EXPIRES
or
HTTP.RES.SET_COOKIE2.
COOKIE("name").EXPIRES
Returns the Expires field of the cookie. This is 
a date string that can be evaluated as a 
number, as a time object, or as text. If multiple 
Expires fields are present, the first one is 
returned. If the Expires field is absent, a text 
object of length zero is returned.
To evaluate the returned value as a time 
object, see 
Prefixes That Extract HTTP Headers
HTTP Header Prefix
Description