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 www.myojs.cl/prueba.php 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: 3.1.0.1
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…