Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  


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 paid license.

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

WebView.Cookies.Count - WebView.Copy

💬 Ask a question or report a problem

Start Chat