You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created my own web view using MSWebView2 (Win32/C++), but I noticed the cookies are not remembered each time I open up a new WebView2 interface. I looked at the SDK document and didn't find a clue how to tell WebView2 to preserve cookies or discard cookies.
For example I'm testing by navigating my MSWebView2 using https://setcookie.net/, I can set my cookie "aaa=bbb", the cookie is gone if I close my MSWebView2 and re-create a new view, (my application is still opened)
I'm not quite sure if this is an un-supported feature or may be I'm not initializing my MSWebView2 in a correct way? In my opinion, MSWebView2 should preserve the cookie when a new instance is created, and it should give client an API option to "not using cookies" during the construction.
The scenario/use case where you would use this feature
Just generic browsing
How important is this request to you?
Impactful. My app's user experience would be significantly compromised without it.
Suggested implementation
I'm not quite sure if this is an un-supported feature or may be I'm not initializing my MSWebView2 in a correct way? In my opinion, MSWebView2 should preserve the cookie when a new instance is created, and it should give client an API option to "not using cookies" during the construction.
What does your app do? Is there a pending deadline for this request?
My application does web-based sign in.
The text was updated successfully, but these errors were encountered:
Describe the feature/enhancement you need
I created my own web view using MSWebView2 (Win32/C++), but I noticed the cookies are not remembered each time I open up a new WebView2 interface. I looked at the SDK document and didn't find a clue how to tell WebView2 to preserve cookies or discard cookies.
For example I'm testing by navigating my MSWebView2 using https://setcookie.net/, I can set my cookie "aaa=bbb", the cookie is gone if I close my MSWebView2 and re-create a new view, (my application is still opened)
I'm not quite sure if this is an un-supported feature or may be I'm not initializing my MSWebView2 in a correct way? In my opinion, MSWebView2 should preserve the cookie when a new instance is created, and it should give client an API option to "not using cookies" during the construction.
The scenario/use case where you would use this feature
Just generic browsing
How important is this request to you?
Impactful. My app's user experience would be significantly compromised without it.
Suggested implementation
I'm not quite sure if this is an un-supported feature or may be I'm not initializing my MSWebView2 in a correct way? In my opinion, MSWebView2 should preserve the cookie when a new instance is created, and it should give client an API option to "not using cookies" during the construction.
What does your app do? Is there a pending deadline for this request?
My application does web-based sign in.
The text was updated successfully, but these errors were encountered: