Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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