Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Cookies expiration doesn't match with local time

  • 1 отговор
  • 1 има този проблем
  • 10 изгледи
  • Последен отговор от 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.
Прикачени екранни снимки

Всички отговори (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