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 பதிலளி
  • 1 இந்த பிரச்சனை உள்ளது
  • 9 views
  • Last reply by Pallavi kumari

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.
Attached screenshots

All Replies (1)

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