Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Problem to update Magento session
 
sagar_aspl
Jr. Member
 
Total Posts:  6
Joined:  2009-07-15
 

Hi I have faced one strange issue,

While calling the magento module’s action using ajax and updating the session variable, it doesn’t works as expected.
After calling the action through ajax and updating the session, i always get the older value.
If i will put sleep() for 1 second then it works nicely. Each time i get newer value.

I have stored the session into the database.

The solution that i have used using sleep() is looks like temporary solution and this shouldn’t be happen.

Can any body know the reason why this kind of problem arises ?

Any other solution ?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top