I want inform about how to set cookie secure flag and http flag using javascript. When I open in chrome developer tools with F12 and click "Application->cookies" I see no flag here (in secure and http column), this is my code to set cookie:
document.cookie = name+'='+value+'; expires='+expires+'; path=/;';
I also find this topic, but this not help me: How to set cookie secure flag using javascript