WebView.ClearBrowserSession
---------------------------

Ends browser session.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [8.5](newinversion85.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WebView.ClearBrowserSession" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Ends browser session.  
Flushes entries not in use from the password cache on the hard disk drive. Also resets the cache time used when the synchronization mode is once-per-session.  
This should clear current session cookies.  
  
For web viewer using Internet Explorer engine. If you close one by closing the window with web viewer control, this method should end session and a new window would start fresh again.  
### Release notes

- **Version 8.5**
    - Added [Webview.ClearBrowserSession](http://www.mbsplugins.eu/WebviewClearBrowserSession.shtml) function.

### Blog Entries

- [Neues MBS FileMaker Plugin 8.5 - Über 5500 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2018-11-27/Neues_MBS_FileMaker_Plugin_85_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.5 - More than 5500 Functions In One Plugin](https://www.mbsplugins.de/archive/2018-11-27/MBS_FileMaker_Plugin_85_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.5pr7](https://www.mbsplugins.de/archive/2018-11-14/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 13th November 2018 , last changed 5th January 2020

  
[WebView.CanZoomPageOut](WebViewCanZoomPageOut.md) - [WebView.ClearPrintParameters](WebViewClearPrintParameters.md)

[HTML Version](WebviewClearBrowserSession.shtml)