I\'m working on a web app using PHP on Apache. $_SESSION variables are used quite a bit for the information that must persist across pages.
We need each user to be a
Knowing it's a very late answer ...
As a developer, I usually need to simultaneously test the interface of different user types (Administrator, Registered, Visitor, etc.). Firefox browser has a "Multi-Account Containers" add-on that, among other things, keeps cookies separated by container. As many containers as required may be created and tabs opened inside each one of them. Each set of contained tabs share cookies but not across containers. The browser will be working with different independent "PHPSESSID" (or however you named the cookie), thus being able to handle multiple simultaneous sessions.
There are other extensions and considerations, such as special bookmarks, etc. but they are beyond the scope of the question here.