Browser forgets about registered cookie after leaving domain
- by Sergej Andrejev
I have following problem.
I register a cookie
Set-Cookie EhdSite_SessionId=b0ptrr45xgclea55kjqp2o45; path=/; HttpOnly
Do something on the same host (user always sends cookie header)
Cookie EhdSite_SessionId=b0ptrr45xgclea55kjqp2o45
then I redirect user to other host
After filling all the required data user went back to first host
Here user doesn't send the cookie
Does that mean that without expiration date cookie is destroyed by browser not when closing browser but when leaving the domain