php - Prevent codeigniter session library from sending set-cookie header parameter if autoloaded -



php - Prevent codeigniter session library from sending set-cookie header parameter if autoloaded -

i have codeigniter based website , have controllers called via ajax , homecoming json values. problem since i've autoloaded session library that's sent response codeigniter has the

set-cookie ci_csrf_token=65d0857a89345g5sg5695e71fa687b14c; expires=sat, 09-jul-2011 17:00:29 gmt; path=/

header parameter set. seems unneccessary bandwidth overhead, there way prevent codeigniter sending header?

not without modifying session class: not expose command on header in published interface.

in addition, cookie not generated session class, security class. have disable csrf protection, unfortunately not can using published interface on per-request behavior.

php session codeigniter http-headers

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -