IWebBrowserCookieManager::DeleteCookies

Delete all browser cookies.

Windows
MacOS
Linux

References

Module

WebBrowser

Header

/Engine/Source/Runtime/WebBrowser/Public/IWebBrowserCookieManager.h

Include

#include "IWebBrowserCookieManager.h"

Syntax

void DeleteCookies
(
    const FString & URL,
    const FString & CookieName,
    TFunction < void > Completed
)

Remarks

Delete all browser cookies.

Removes all matching cookies. Leave both URL and CookieName blank to delete the entire cookie database. The actual deletion will be scheduled on the browser IO thread, so the operation may not have completed when the function returns.

Parameters

Parameter

Description

URL

The base URL to match when searching for cookies to remove. Use blank to match all URLs.

CookieName

The name of the cookie to delete. If left unspecified, all cookies will be removed.

Completed

A callback function that will be invoked asynchronously on the game thread when the deletion is complete passing in the number of deleted objects.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback