0

I am POSTing data to a controller and saving that data to a session variable for later use. I have no problem accessing the session variable later but I made a typo with how one of the value was sent and now that value is missing in the session variable.

I went back to the controller and fixed the typo but the problem persists. I tried setting up some logging to see if the value was not properly retrieved at the controller but I couldn't get any log to output. I tried sending different information to the controller and saw that changes did reflect in the session variable.

I suspect there is some kind of caching going on here but can't seem to figure it out. So far I have tried:

Cleaning & Clearing Magento Cache

Disabling Magento Cache

Running commands:

php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy en_US -f

and resetting opcache using opcache_reset()

Anything glaring I am missing here?? Thanks.

Edit: Took this one step further and deleted the entire controller and the problem persists.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.