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
How do we enable the cookie to remain for only the duration of the user-agent? That means to make it expired after a browser is closed. Is it possible?
The text was updated successfully, but these errors were encountered:
a cookie with expire date can not deleted when browser exit.
so, you can add another cookie without expire date.
your app can detect if the new cookie and session are all valid.
the problem is:
you has a cookie with expire time , for example, 20 minutes
now the expire time has not reached yet, for example, only 10 minutes have elapsed
when you close the browser, the cookie not be deleted.
if you open the browser at right, the session is still valid.
so, the only way is has another cookie to check if the browser's closed.
How do we enable the cookie to remain for only the duration of the user-agent? That means to make it expired after a browser is closed. Is it possible?
The text was updated successfully, but these errors were encountered: