P
P
photosho2019-08-09 11:41:44
JavaScript
photosho, 2019-08-09 11:41:44

Session cookies?

How accurate is the information:

If this is not specified the cookie is called a session cookie and it expires (gets deleted) when user's session ends, ie when the browser is closed.

? This states that cookies that do not have a specified lifetime are considered session cookies and are deleted after the browser is closed. I tried not to specify the lifetime, but they were not deleted. Perhaps the peculiarities of the browsers?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-08-09
@rockon404

I tried not to specify the lifetime, but they were not deleted. Perhaps the peculiarities of the browsers?

Because it is necessary not to close the tab, but the browser itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question