Magento2 How can I get PHPSESSID value for Guest User?

I need to use it to identify frontend user in PWA, using the rest API


If you are using rest API the on load of page you have to run the guest authentication request and sace in local storage. Later when customer is logged in you need to replace with customer auth hash.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.