I am working on multi store
Store > Configuration > General > Web > Session Validation Settings >
Use SID on Storefront is set to "Yes" allow customer to stay logged in
when switching between different stores.
However I am not getting SID in my front end URL. Is there any way to get SID pragmatically and append to front end URL.
Best Answer
I think you can get get Session from getSessionId() Using
How session is appended to url you can refer to createUrl() in
It appends throught _prepareSessionUrl()