![]() |
![]() |
![]()
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". |
|
|
![]() ![]() |
![]() |
Aktualny czas: 24.08.2025 - 15:08 |