LinuxWebCookieStoreMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to LinuxWebCookieStoreMBS class.

LinuxWebCookieStoreMBS.AcceptPolicy as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Linux MBS Linux Plugin 12.4 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Get/set the policy for accepting cookies.
Example
dim w as LinuxWebCookieStoreMBS = LinuxWebCookieStoreMBS.CookieStore

MsgBox "AcceptPolicy: "+str(w.AcceptPolicy)
w.AcceptPolicy = w.kAcceptNoThirdParty
MsgBox "AcceptPolicy: "+str(w.AcceptPolicy)

(Read and Write computed property)

LinuxWebCookieStoreMBS.AddCookie(cookie as LinuxWebCookieMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 12.4 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Adds cookie to store.

LinuxWebCookieStoreMBS.AllCookies as LinuxWebCookieMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 12.4 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Returns an array with all cookies.
Example
// show all cookies
dim store as LinuxWebCookieStoreMBS = LinuxWebCookieStoreMBS.CookieStore
dim cookies(-1) as LinuxWebCookieMBS = store.AllCookies
dim lines() as string

for each c as LinuxWebCookieMBS in cookies
lines.Append c.ToSetCookieHeader
next

MsgBox Join(lines,EndOfLine)

LinuxWebCookieStoreMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 12.4 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Creates a new cookie store.

The base LinuxWebCookieStoreMBS class does not support persistent storage of cookies; use a subclass for that.

LinuxWebCookieStoreMBS.DeleteAllCookies

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 12.4 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Deletes all cookies.
Example
dim w as LinuxWebCookieStoreMBS = LinuxWebCookieStoreMBS.CookieStore
w.DeleteAllCookies

LinuxWebCookieStoreMBS.DeleteCookie(cookie as LinuxWebCookieMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 12.4 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Deletes cookie.

LinuxWebCookieStoreMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 12.4 ❌ No ❌ No ✅ Yes ❌ No Desktop only
The destructor.

The items on this page are in the following plugins: MBS Linux Plugin.


💬 Ask a question or report a problem