pass new Date(Date.now()+2*60*60*1000)
as 3rd arg which will set a date 2 hours in the future
keeperSetCookie("cookiename","cookieValue",new Date(Date.now()+2*60*60*1000));
4
solved Cookie Timeout Length [duplicate]
pass new Date(Date.now()+2*60*60*1000)
as 3rd arg which will set a date 2 hours in the future
keeperSetCookie("cookiename","cookieValue",new Date(Date.now()+2*60*60*1000));
4
solved Cookie Timeout Length [duplicate]