This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cookies expiration doesn't match with local time

  • 1 reply
  • 1 has this problem
  • 10 views
  • Paskiausią atsakymą parašė Pallavi kumari

more options

i just created my login with cookies, i set cookie with expiration 16 minute later. Why the time between in the page and console bellow doesn't match ? my cookie expiration should be 13:31 pm not 06:31 am.

i just created my login with cookies, i set cookie with expiration 16 minute later. Why the time between in the page and console bellow doesn't match ? my cookie expiration should be 13:31 pm not 06:31 am.
Pridėtos ekrano nuotraukos

All Replies (1)

more options

hello,

Cookies are usually set by a web-server using response Set-Cookie HTTP-header. ... Next time when the request is set to the same domain, the browser sends the cookie over ... Does your browser store any cookies from this site? ... The url path prefix, the cookie will be accessible for pages under that path.

https://javascript.info/cookie

https://stackoverflow.com/questions/13154552/javascript-set-cookie-with-expire-time