Preserve login state when switching ends

Keeping the question simple, can anyone tell me if it’s possible to preserve login state when switching between Yii2 application ends?

If so, any pointers as to how to do it?

What consideration is needed to to police authorisation when switching to the back end?

Thanks in advance, Pedro :)

Yes.

See guide on running advanced app on shared hosting. You need it the other way around: shared everything. https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/topic-shared-hosting.md