IWebBrowserSingleton::DeleteBrowserCookies

Delete all browser cookies.

Windows
MacOS
Linux

Deprecated

References

Module

WebBrowser

Header

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

Include

#include "IWebBrowserSingleton.h"

Syntax

void DeleteBrowserCookies
(
    FString URL,
    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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss