B4J Question Webview Cookies - Ivan Judd    Dec 01, 2019   (1 reaction) I'm trying to use a webview in a B4J application but it only appears to be saving the cookies into memory which is a default setting going by the Java documentation rather than a file so my web application doesn't stay logged in as the cookie is lost when it closes.
I've put the following code in t B4J Question How to clear WebView cookies / cache / memory? - Mashiane    Oct 01, 2023 Hi
How can I clear WebView cookies..
I found this code here.. but its for httputils which will not apply.
https://www.b4x.-file-using-httputils-and-webview-with-cookies.73783/#content
Thanks in advance. B4A Code Snippet WebView get cookie - peacemaker    Apr 19, 2024   (3 reactions) 'wv - WebView object Private Sub wv_PageFinished (Url As String) 'Works from API level 1 and above. WebViewClient required. If wv.CookieManager.HasCookies Then Dim cookies As String = wv.CookieManager.GetCookie(Url) 'XSRF-TOKEN=oiIn0%3D; project_session=eyJpd; logged=true B4A Question Webview 3rd Party Cookies on Webview - Erel (first post)    Jul 21, 2019   (1 reaction) It will probably still work. Try it.
It will not affect other apps. B4A Question Problem with WebView and cookies - Jorge Santamaria Magana    Jul 30, 2024 Could someone help me better understand this point about WebView? I'm trying to open a URL, but it generates a message in WebView:
Browser cookies
To place an order you first need to allow 3rd party cookies, local storage access and cross-site tracking from your browser settings.
To allow cookies, B4i Question Webview: User agent and cookies - Semen Matusovskiy (first post)    May 27, 2020   (1 reaction) A code, which you posted, can't work, because it was relative UIWebView.
In current B4i release WebView is WKWebView https://developer.apple.?language=objc , which has another API.
Since IOS 9 WKWebView has customUserAgent property,
Cookies ... You can start https://www.b4x.-cookies-from-a-wkwe B4i Question WebView Post and cookies - iCAB    Dec 19, 2019 Sub WebView1_PageFinished (Url As String)
Try
If CookieManager1.HasCookies Then
Log(CookieManager1.GetCookie(Url))
Else
LogColor("No cookies found", Colors.White)
End If
Catch
LogColor(LastException, Colors.Red)
End Try
End Sub
#If JAVA
import android B4J Question webview Incompatible - Magma (first post)    Oct 09, 2023   (1 reaction) https://www.b4x.com/android/forum/threads/how-to-clear-webview-cookies-cache-memory.154369/post-958852 https://www.b4x.-manager.44829/#post-274302 ...i am curious if that work with new tech pages.... not for the cookies... but allowing login... from webview... hmmm... nice... if can be done... B4i Question How to clear WebView cookies? - Haris Hafeez (first post)    Apr 02, 2015   (5 reactions) Hello everyone.
I guess I forgot that we've got inline Objective-C support. A bit of Google resulted in the solution.
For everyone else, here's what you need to do:
In your module, add the following:
#If OBJC
- (void) clearCookies {
for(NSHTTPCookie *cookie in cookies]) {
deleteC B4i Question how can I get the cookies in webview? - Erel (first post)    Jul 26, 2015   (1 reaction) You can use this code to get all the app cookies:
Sub WebView1_PageFinished (Success As Boolean, Url As String)
Dim no As NativeObject
Dim cookies As List = no.Initialize("NSHTTPCookieStorage").RunMethod("sharedHTTPCookieStorage", Null).RunMethod("cookies", Null)
For Each cookie As NativeO Page: 1   2   3   4   5   6   7   Powered by ColBERT |