default cookie expiration time in javascript

https://security.stackexchange.com/questions/33692/what-typically-is-the-expiration-date-of-a-session-cookie/33693#33693, Hold on a second. How would this solve anything? Personally, I don't care for it, but I can't immediately think of any issues that couldn't be overcome. We also use the isset () function to find out if the cookie is set: Is it possible to retrieve the creation or expiration date of an existing cookie from javascript? Yes. How should I credit the advisor's help in my thesis? Whilst you could reimplement session management yourself using only JavaScript, passed parameters and, say, localStorage as an alternative to cookies, there doesn't seem to be that much to win by reinventing that wheel. You can override this as required. These cookies store other randomly generated ids and … "", $time); ?> Get cookie expiration date from JS