Merhaba arkadaşlar, whmcs tabanına ait bir lisanslı tema kullanıyorum.
https://github.com/carhartl/jquery-cookie > bu referansı kullanıyor tema cookie olarak.
kullanılan cookie sistemi bu. Süresini ayarlamak istiyorum fakat bir türlü sonuca ulaşamadım.

Cookie süresini değiştirmem konusunda yardımcı olabilecek var mı?

options = $.extend({}, config.defaults, options);

if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setMilliseconds(t.getMilliseconds() + days * 864e+5);
}

return (document.cookie = [
encode(key), '=', stringifyCookieValue(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
teşekkür ederim şimdiden