cookiemanager class

Description

Provides the function to manage cookies.

Notes

It is a class that is statically included in the Cooker.

An instance returned by variable declaration has been initialized.

Returns a singleton instance in response to an instance creation request. That is, variables of this class refer to the same instance.

fitter

SignatureDescription
cookiemanager()

Returns a new instance of cookiemanager class.

getter

SignatureDescription
Fitted

Returns the value that indicates whether an instance was initialized.

TypeName

Returns the type name.

setter

This class does not have a setter.

method

SignatureDescription
ContainsCookie(string,string)

Returns whether the cookies associated with the specified URL contains a cookie with the specified name.

CookieKeys(string)

Returns a list of cookie names associated with the specified URL.

SetCookie(cookie)

Set a cookie.

CopyCookie(cookie)

Creates a cookie with the same parameters as the argument.

CreateCookie(string,string,string,string)

Creates a cookie with the specified parameters.

DeleteAllCookies()

Deletes all cookies on the browsers.

DeleteCookie(cookie)

Deletes the cookie whose parameter matches the argument.

DeleteCookies(string)

Deletes all cookies associated with the specified URL.

DeleteCookies(string,string)

Deletes cookies with the specified name associated with the specified URL.

GetAllCookies()

Gets all cookies on the browsers.

GetCookies(string)

Gets all cookies associated with the specified URL.

GetCookies(string,string)

Gets cookies with the specified name associated with the specified URL.

Copyright © Cooker All rights reserved.