Codeigniter 2.x响应头设置cookie重复

时间:2015-10-09 02:56:44

标签: php codeigniter codeigniter-2

有很多ci_session=xxxci_session=xxxxci_session(有些页面最多10" var count=0; exports.buildFamily = function(item_id, mback){ var extendedFamily={}; exports.getItembyId(item_id, function(err, item){ extendedFamily=item; if(item.descendants){ extendedFamily.kids=[]; count=+item.descendants.length; console.log('outercount ' + count); async.eachSeries(item.descendants, function(item){ count-- console.log('item: ' + item) exports.buildFamily(item, function(err, family){ console.log('deepcount: ' + count); extendedFamily.kids.push(family); if(count===0){ return mback(null, extendedFamily);} else {extendedFamily.kids.push(family);} }) }) } else{ if(count===0){ return mback(null, extendedFamily);} else{ extendedFamily.kids.push(family); return; } } }); }; ")

我尝试了很多方法也没有用。我无法删除重复的标头Cookie。

任何CI专业,请建议我该怎么办?我正在使用CI 2.x

0 个答案:

没有答案