Click or drag to resize

ICookieStore Methods

The ICookieStore type exposes the following members.

Methods
  NameDescription
Public methodDelete
Deletes one specific cookie. The cookie instance can be received from a list of cookies returned from the GetAllCookies(String) method.
Public methodDeleteAllCookies
Deletes all of the cookies including session, secure or HTTP only cookies.
Public methodFlush
Use this method to save all the changes you apply to this cookie storage. By default all the changes to the cookie store are made in memory, so when you restart the application you will not see the changes you made if you don't invoke this method on application exit. You can invoke this method after every change you made to cookie storage.
Public methodGetAllCookies
Returns all the cookies for given url including HTTP only cookies.
Public methodSetCookie
Sets a session cookie given explicit user-provided cookie attributes.
Top
See Also