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,310 The Queen of DaniWeb Administrator Featured Poster Premium Member
pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster
Dani 4,310 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.