hanoi Posted June 12, 2020 Share Posted June 12, 2020 Hello every body. I know that static properties don´t share between php pages. How prestashop persist or share context between controllers? On the other hand i can use getContext in everywhere... Does prestashop use session to store context? How does it? Thanks a lot.... Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted June 12, 2020 Share Posted June 12, 2020 Hi.. i hope this link help for you http://doc.prestashop.com/display/PS16/Using+the+Context+Object Thanks Link to comment Share on other sites More sharing options...
hanoi Posted June 14, 2020 Author Share Posted June 14, 2020 Thanks but what i want to know is how this context object persists between requests. Http is stateless. How it get it? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now