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