безопасное печенье в JavaScript
document.cookie = "tagname = test;secure";
Undefined
document.cookie = "tagname = test;secure";