0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 13.58.221.124


Current Path : /var/www/website/gaccta/src/
Upload File :
Current File : /var/www/website/gaccta/src/csessions.php

<?php
  
  class CSessions
  {
  public $user;
    static function Initialize()
    {
      session_start();
    }
    
    static function GetData($astr_key)
    {
      return ($_SESSION[$astr_key]);
    }

    static function SetData($astr_key, $aobj_value)
    {
      $_SESSION[$astr_key] = $aobj_value;
    }
    
    static function GetUser()
    {
      return ($_SESSION["user_id"]);
    }
    
    static function SetUser($aobj_value)
    {
      $_SESSION["user_id"] = $aobj_value;
    }
	
    
  }

?>