Back to product page

Value property (HttpCookie)


Holds cookie value.

Type

A String value

Syntax

  • Basic
object.Value [= value]
The Value(object,value) syntax has these parts:
objectAn expression evaluating to an object of type HttpCookie.
valueA String value.

Remarks

This method holds cookie value. For example:

Set-Cookie: BrowserTest=Success?; domain=.some.com;path=/;HTTPOnly= ;version=1
Set-Cookie: PResult=1074395041&co=1&id=2

in this sample there are two cookies:
  • First has name 'BrowserTest', value 'Success?' and several attributes.
  • Second has name 'PResult', value "1074395041&co=1&id=2" and no attributes

Platforms

Windows