We set cookies using the code below,
document.cookie = name+"="+value+ ";expires="+"domain=xyz.com;path=/";
And the session end time set on my server is 15 minutes. If the client is idle for 15 minutes, after 15 minutes the session will be destroyed. Will this destroy the value set in my cookie?
I mean, is the cookie expired in document.cookie related to the expiration of the cookie set on the server?
source share