START SESSION ON INIT

NEW SESSION ON LOGIN / LOGOUT

Now go ahead and use $_SESSION freely in your plugin. Here a nice additional class to  encrypt session data.

Enjoy coding ….