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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
WebView.Cookies.Query
Queries a property of a cookie.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| WebView | 5.0 | Yes | No | No | No | No |
MBS( "WebView.Cookies.Query"; Index; Selector; URL ) More
Parameters
| 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. | "http://www.mbsplugins.de" |
Result
Returns OK or error.
Description
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.
Examples
Get a cookie for a domain:
MBS( "WebView.Cookies.Query"; $index; "Name"; "https://xing.com" )
See also
Blog Entries
Created 19th November 2014, last changed 27th February 2020
WebView.Cookies.Count - WebView.Copy
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins