|
Rank: Advanced Member Groups: Member
Joined: 12/9/2014 Posts: 79
|
For some projects, I need reset the session of the user, basically the "Client certificate".
In actual 2014 version, I have to close all webviews (I call Runtime.Shutdown()), but it not a good option for me.
In your tabbedbrowser sample(little modified to handler client certificates), if i load in a tab a page that needs client certificate, and loads the same page with new tab, the page loads with the other tab certificate. Same session for same exe. It is correct way to work.
The perfect "solution" for me is a method that "reset" or "clean" the session or client certificate, so if I "reload" one of the tabs, the NeedClientCertificate throws and i choose other certificate. If I reload the other tab, it has the new certificate.
Other valid solution(less than previous) is the possibly to have a "encapsulated" webview. When i create the webview, i can choose to use the same "session" that the rest or a new session, so this new encapsulated webview an only this have the new client certificate.
I dont know what solution is possible(or both) or what is better for other users.
Thanks. You are doing a great work.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi,
We have a planed feature that is somewhat close to your second option. We will have an "Engine" object that you can instantiate explicitly. When you create a WebView, you can attach the WebView explicitly to a specific "Engine". An "Engine" isolates everything: cookies, caches, authentication sessions, etc. A typical usage of a separate Engine object is to implement incognito mode. However since it isolates everything including cookies and cache, so it may not be suitable for you.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/9/2014 Posts: 79
|
Thanks for fast reply.
I see testing the internal beta the new Engine object with a Init method, but not understand. Now I know it hehe.
While engine isolates my principal problem, certificates, it may suitable for me. Its logical that if isolates session, everything is isolated(including cookies and cache), no problem in that.
Maybe in the future some type of my first option possible.
Thanks for your work.
|
|
Rank: Advanced Member Groups: Member
Joined: 12/9/2014 Posts: 79
|
Is the planed "Isolated Engine" feature o something related to this in the new 2015 version?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi,
This is NOT implemented in the initial build yet (the initial build did make the necessary internal changes to make this possible). However it is our plan to implement this in 2015. So it will be added later.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/9/2014 Posts: 79
|
Thanks!
|
|