Github pages & jquery cookie; state saved on page level only -


so put old project on github. in php , had cookie magic when "invert" colors stay through site. saved rendered html version of the site github , switched cookie magic jquery.cookie work without server-side component

there's link site below.

http://reggi.github.io/csi-bp

so seems github pages set cookies on page-level , don't seem transfer between pages. case? i'm curious i'm missing.

i know switched domain github.com github.io cookie / security purposes, didn't know going result in this.

it side effect of newest security measure github (april 18th):

"content security policy"

content security policy new http header provides solid safety net against xss attacks.
blocking inline scripts , limiting domains other scripts can loaded from.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -