<?php ob_start(); error_reporting(0); ob_flush(); // session_set_cookie_params(3600,"/"); // session_set_cookie_params([ // 'lifetime' => 3600, // Session duration in seconds // 'path' => '/', // 'domain' => 'mamacloud.in', // 'secure' => true, // Set to true if using HTTPS // ]); // ob_start(); session_start(); $test = $_SESSION['val']; echo $test; ?>