⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.78
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
php
/
Horde
/
Session
/
View File Name :
Null.php
* @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Core */ class Horde_Session_Null extends Horde_Session implements Horde_Shutdown_Task { /** * Constructor. */ public function __construct() { // Store session data internally. $this->_data = array(); } /** * Shutdown tasks. */ public function shutdown() { $this->destroy(); } /** */ public function setup($start = true, $cache_limiter = null, $session_id = null) { global $conf; // Set this here, since we actually do start a php session. Even though // it gets closed immediately, it can still create a session file on // the same session backend as the globally configured Horde sessions. // This may help clean up the large number of session files that can // be created by things like ActiveSync. if (!empty($conf['session']['timeout'])) { ini_set('session.gc_maxlifetime', $conf['session']['timeout']); } session_cache_limiter(is_null($cache_limiter) ? $conf['session']['cache_limiter'] : $cache_limiter); $this->sessionHandler = new Horde_Support_Stub(); if ($start) { $this->start(); $this->_start(); } } /** */ public function start() { /* Limit session ID to 32 bytes. Session IDs are NOT cryptographically * secure hashes. Instead, they are nothing more than a way to * generate random strings. */ ini_set('session.hash_function', 0); ini_set('session.hash_bits_per_character', 5); // We must start a session to ensure that session_id() is available, // but since we don't actually need to write to it, close it at once // to avoid session lock issues. session_start(); session_write_close(); Horde_Shutdown::add($this); } protected function _start() { $this->_active = true; $this->_data[Horde_Session::BEGIN] = time(); } /** */ public function clean() { if ($this->_cleansession) { return false; } session_start(); session_regenerate_id(true); session_write_close(); $this->destroy(); $this->_start(); return true; } /** */ public function close() { $this->_active = false; } /** */ public function destroy() { session_unset(); $this->_data = array(); $this->_cleansession = true; } }