Cookie (Object)

Represents a browser cookie. To access cookies, use the Client object to access the Cookies property to manage cookies. Creating a cookie does not automatically set it to the browser, you must Add it to the Client.Cookies collection.

Contrustructors

Cookie(String name, String value) Creates a new cookie.
Cookie(String name, String value, DateTime expires) Creates a new cookie that expires at the given time.

 

Fields

Name String The name of the cookie.

 

Property Functions

Expires(DateTime date) Gets or the expiration date of the cookie and returns the cookie.
Name(String name) Gets or the name of the cookie.
Value(String value) Sets the value of the cookie and returns the cookie.

Last edited May 30, 2011 at 2:05 PM by dahrkdaiz, version 7

Comments

No comments yet.