I autoload the Session library in CodeIgniter. However, sometimes there are controllers that output XML, JSON, an image, or other mime types, and I don't want these sending back cookies in the header. Is there a way to suppress this on a per-controller basis?
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
Recommended Answers
Jump to PostWRT disabling csrf, I came across this a while back and decided it wasn't worth the hassle for the overhead improvement. There again, my concurrents were barely in single figures! .
All 5 Replies
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
cereal 1,524 Nearly a Senior Poster Featured Poster
mschroeder 251 Bestower of Knowledge Team Colleague

diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.