Keep session in own module

Hello, good afternoon, I would like to implement a small module in the system at the following address, for example and I need to be able to enter this module with the same login as the ojs, that is, that verifies if it is online to be able to enter here.

It’s possible?

ojs versión:
Versión PHP 5.6.32-1~dotdeb+zts+7.1
Versión Apache Apache/2.2.22 (Debian)
Driver de la base de datos mysql

Beforehand thank you very much…