cookies

  1. Martin Larsen

    iOS Question Webview: User agent and cookies

    Getting and setting the user agent In B4A I can set get and the user agent using using Reflector: Dim r As Reflector r.Target = webview r.Target = r.RunMethod("getSettings") ' Get user agent userAgent = r.RunMethod("getUserAgentString") ' Set user agent r.RunMethod2("setUserAgentString"...
  2. saeed10051

    B4J Question Problems related to invalid cookies header

    I am trying to run a server with B4J using following article https://www.b4x.com/android/forum/threads/server-upload-files-from-your-b4a-app-to-your-b4j-server-over-the-internet.37201/#content When i run the B4J program i get the following lines in the log. there is a warning for invalid cookie...
  3. Martin Larsen

    Android Question Clear cookies from HttpJob

    When you make multiple requests with HttpJob, cookies returned from the server are kept across the requests. This might be useful in some cases, but in other cases it is a problem as the web server will not send a new cookie if it is already present in the request. In the following example a...
  4. I

    HTTPS POST and WebView (B4i)

    Hi All I am looking for someone to provide the equivalent B4I code as described in https://www.b4x.com/android/forum/threads/webview-post-and-cookies.112327/#post-700842 if you are interested, please PM and let me know how much will you charge for it Thanks iCAB
  5. I

    iOS Question WebView Post and cookies

    Hi All, Can someone help provide the equivalent B4I code to the one below Private Sub InvokeLoginURL(UrlToInvoke As String, UserName As String, Password As String ) If WebView1.IsInitialized = False Then WebView1.Initialize("WebView1") Activity.AddView(WebView1, 0, 0%y...
  6. I

    B4J Question Webview Cookies

    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...
Top