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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Cookies expiration doesn't match with local time

  • 1 antwoord
  • 1 het hierdie probleem
  • 10 views
  • Laaste antwoord deur 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.
Aangehegde skermkiekies

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