Arun Prasad E S
Arun Prasad E S

Reputation: 10125

What happen if Cookie 'Expires/Max-Age' is 'N/A' or not set

I tried to increase the cookie expiry time and activated sliding expiry.

But the cookie expiry is still "N/A"

what problems will it cause, why expiry is not shown. In this case what will happen to cookie. when will it expire.

enter image description here

Upvotes: 9

Views: 15668

Answers (1)

lbrandao
lbrandao

Reputation: 4373

It means the cookie will expire at the end of the session (when the browser closes, but not always).

When user privacy is a concern, It is important that any web app implementation will invalidate cookie data after a certain timeout and won't rely on the browser clearing session cookies.

One of the most beloved features of Firefox prevents session cookies from ever expiring. The same issue is also occuring with google chrome (and probably with other browsers offering similar features)

Upvotes: 15

Related Questions