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


Queries a property of a cookie.

Component Version macOS Windows Linux Server iOS SDK
WebView 5.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No


This function was deprecated. Use WebView.AllCookies instead.

MBS( "WebView.Cookies.Query"; Index; Selector; URL )   More


Parameter Description Example
Index The index of the cookie from 0 to WebView.Cookies.Count-1.
Selector Which value to query. Can be path, name, value, expiresDate, SessionOnly, domain, Secure, HTTPOnly, comment, commentURL, version or portList. "Name"
URL The target URL of the website to use. ""


Returns value or error.


Queries a property of a cookie.

For WebKit 1.x, so only for web viewers created in FileMaker 15 or older or web viewers created with WebView.Create function.
URL should have https:// prefix if this is for SSL.


Get a cookie for a domain:

MBS( "WebView.Cookies.Query"; $index; "Name"; "" )

See also

Release notes

Blog Entries

This function checks for a license.

Created 19th November 2014, last changed 23th February 2023

WebView.Cookies.Count - WebView.Copy