howto save webview's session

Post

Posted
Rating:
#1 (In Topic #1432)
Trainee
 hi, is there a sample how to save and restore a webview's session? thanks!
Online now: No Back to the top

Post

Posted
Rating:
#2
Guru
BruceSteers is in the usergroup ‘Guru’
 There is no such concept as a webview session.

I guess just save/restore the URL

It does not seem to have a scroll property so i guess javascript needs to be used to save/restore scroll position.
Online now: No Back to the top

Post

Posted
Rating:
#3
Trainee
… e.g. in Firefox there's an option to reload the previous session at start, means the session is restored including cookies, logins etc. ;)
Online now: No Back to the top

Post

Posted
Rating:
#4
Guru
BruceSteers is in the usergroup ‘Guru’
Yes i know what a web "session" means.  :roll:
it's a browser thing though.  the saving/restoring of it in firefox would be programmed by the firefox developers.

Webview is not a fully featured web browser. it's just a component you can use to make your own browser.

So you will have to experiment with saving/restoring what data you can.

.URL
.Cookies
.Settings
etc.

Logins might be a bit trickier but maybe not impossible to auto-re-enter login data when a page loads.
Online now: No Back to the top
1 guest and 0 members have just viewed this.