Platforms to show: All Mac Windows Linux Cross-Platform
Back to WebView2CookieMBS class.
WebView2CookieMBS.Domain as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
The default is the host that this cookie has been received from. Note that, for instance, ".bing.com", "bing.com", and "www.bing.com" are considered different domains.
(Read only property)
WebView2CookieMBS.Expires as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
The default is -1.0, which means cookies are session cookies by default.
Cookies are session cookies and will not be persistent if Expires is set to -1.0. NaN, infinity, and any negative value set other than -1.0 is disallowed.
(Read and Write property)
WebView2CookieMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read and Write property)
WebView2CookieMBS.IsHttpOnly as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
True if a page script or other active content cannot access this cookie. The default is false.
(Read and Write property)
WebView2CookieMBS.IsSecure as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
True if the client is only to return the cookie in subsequent requests if those requests use HTTPS. The default is false. Note that cookie that requests kCookieSameSiteKindNone but is not marked Secure will be rejected.
(Read and Write property)
WebView2CookieMBS.IsSession as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read only property)
Some examples using this property:
WebView2CookieMBS.Name as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read only property)
WebView2CookieMBS.Path as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
The default is "/", which means this cookie will be sent to all pages on the Domain.
(Read only property)
WebView2CookieMBS.SameSite as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
The default is kCookieSameSiteKindLax.
(Read and Write property)
WebView2CookieMBS.Value as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebView2 | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read and Write property)
The items on this page are in the following plugins: MBS WinFrameworks Plugin.