Hi Fam...
I am creating a project... a server with API... that will be used from clients/browsers/apps...
Every time someone using API login https://atmyserver/myapi/login will create a webview for specific session (is it possible?)
thinking to do it something like that:
With running javascript with javaobject and getEngine... will use dom elements to login...
My silly question is that.... every webview using exclusive cookies? and if not? how to push it use different cookies - and how to have all these webviews open and using them the same time/concurrency without problems ?
Need at any API call - to login at every webview, browse pages, extract data or can split those between api calls ? what do you think ?
or at specific time session/webview will logout me as in standard browser?
I am creating a project... a server with API... that will be used from clients/browsers/apps...
Every time someone using API login https://atmyserver/myapi/login will create a webview for specific session (is it possible?)
thinking to do it something like that:
B4X:
Public WebViewMap As Map
WebViewMap.Initialize
....
Dim wv As WebView
wv.Initialize("")
WebViewMap.Put(idofsession, wv)
...when second session will get new idofsession:
Dim wv As WebView
wv.Initialize("")
WebViewMap.Put(idofsession, wv)
With running javascript with javaobject and getEngine... will use dom elements to login...
My silly question is that.... every webview using exclusive cookies? and if not? how to push it use different cookies - and how to have all these webviews open and using them the same time/concurrency without problems ?
Need at any API call - to login at every webview, browse pages, extract data or can split those between api calls ? what do you think ?
or at specific time session/webview will logout me as in standard browser?