MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Cookies with expiration gets deleted before the expiration date is reached

Open
#1,325 15 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I use currently the version 1.0.824-prerelease of WebView2. My Runtime has the version 90.0.818.66.

I use a static path for the "home" directory

I log in to a page with a remember me checkbox which works with a cookie.
After some "restarts" of the application the cookie deleted befor the expiration date of the cookie is reached without logging out of the web application.

My question is, why is the cookie no longer available or how can I check which part of my code (if it is mine) deletes the cookie.

AB#44876422

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions WebView2 prerelease 1.0.824, Runtime 90.0.818.66, a static home directory, and application restarts; begin by reproducing cookie loss across restarts and checking whether the cookie remains before its stated expiration. Done means identifying why the cookie disappears or how to determine whether application code deletes it.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.