![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 117 Pomógł: 0 Dołączył: 12.11.2008 Ostrzeżenie: (0%) ![]() ![]() |
Kod create_cookie : function(name,value,days) { days = 9999999999; if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else { var expires = ""; } document.cookie = name+"="+value+expires+"; path=/"; }, Co zrobić, aby to tworzyło cookie, które wygasa za te 9999999999 dni? Teraz jest "Expires: At End Of Session". |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 150 Pomógł: 15 Dołączył: 18.03.2009 Ostrzeżenie: (10%) ![]() ![]() |
Jak chcesz nieskończone ciastko to ustaw je do 2038r.
Ten post edytował Andaramuxo 1.08.2009, 13:02:10 -------------------- ![]() |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 31.07.2025 - 08:51 |