I am working on a symfony project which uses really old legacy code probably from year 2003. I have a strange problem in one of the legacy code function which writes
$_SESSION['basket'] = serialize($data);
For some reason the $_SESSION['basket']
only get created during execution and once the script ends $_SESSION
does not contains the key basket. If I test this in my normal symfony controller it works fine.
What could be the problem for it not storing the key and value?