D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ksclnmuac
/
public_html
/
admission
/
application
/
libraries
/
Filename :
SessionValidator.php
back
Copy
<?php /** * Description of User * * @author Softpro India Pvt. Ltd. */ class SessionValidator { //put your code here public static function validateSession($usedBy='') { $ins = &get_instance(); $userData; if($usedBy=='') $userData = $ins->session->userdata("admin_data"); else $userData = $ins->session->userdata("userData"); if ($userData["isLoggedIn"]) { return true; } else { return false; } } }