Click or drag to resize

CookieAccessFilterCanSaveCookie Method

Version 102.0.100
Called on the CEF IO thread after a resource response is received.

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 102.0.100.0 (102.0.100.0)
Syntax
protected virtual bool CanSaveCookie(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	IFrame frame,
	IRequest request,
	IResponse response,
	Cookie cookie
)

Parameters

chromiumWebBrowser
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object - may be null if originating from ServiceWorker or CefURLRequest
frame
Type: CefSharpIFrame
the frame object - may be null if originating from ServiceWorker or CefURLRequest
request
Type: CefSharpIRequest
the request object - cannot be modified in this callback
response
Type: CefSharpIResponse
the response object - cannot be modified in this callback
cookie
Type: CefSharpCookie
the cookie object

Return Value

Type: Boolean
Return true if the specified cookie returned with the response can be saved or false otherwise.
See Also