开发者

codeigniter global_xss_filtering with session variables

开发者 https://www.devze.com 2023-03-24 03:23 出处:网络
When i set this to default true in the config file I开发者_高级运维 can no longer access my session variables. How do I fix this so I can still have this on and use my session variables?The XSS filter

When i set this to default true in the config file I开发者_高级运维 can no longer access my session variables. How do I fix this so I can still have this on and use my session variables?


The XSS filtering is affecting the cookie where CI stores the session data. I would recommend turning XSS filtering off by default and only using it where you need to.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号