Cookies and Webviews
I am authenticating my users using httpclient, but after authentication, I need to preserve the session generated in the httpclient when I open a webview, is there anyway to force the cookie to the webview?
6 Answers
-
Accepted Answer
Marc, thanks for the respose, fortunately I managed to figure it out reading the old support forums at support.appcelerator.com.
The cookies are not shared between httpclient and webviews luckily webviews have a db that manages cookies, I don't know if it is the best solution but I am currently inserting/updating the webview.db with the values I need…
-
Have you found an answer to this?
I am trying to do the exact same thing but no luck. How do you use the webview.db database to do this? -
This is an 8 month old issue, but do you know how I can access the webviews db? I am trying to do something similar.
-
Thanks James that answers a question I had last week about this - updating document.cookies has zero effect.
Didn't know there was a db for this. -
This is an 8 month old issue, but do you know how I can access the webviews db? I am trying to do something similar.
-
Does your webview can't access logged in pages?