Note: This issue is already solved,
finally I found that it\'s not cookies
problem, the problem is on
unserialize() function. The serialized
cookie which
A Location-header does not prevent a PHP-script from executing further instructions, maybe there is something executed after the header that causes the misbehaviour.