Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Deletes all cookies for a given website.

Component Version macOS Windows Linux Server iOS SDK
WebView 5.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "WebView.Cookies.ClearForURL"; URL )   More


Parameter Description Example
URL The target URL of the website to use. ""


Returns count or error.


Deletes all cookies for a given website.
Returns number of deleted cookies.

For WebKit 1.x, so only for web viewers created in FileMaker 15 or older or web viewers created with WebView.Create function.

See also

Blog Entries

This function checks for a license.

Created 19th November 2014, last changed 11st August 2018

WebView.Close - WebView.Cookies.Count