Decoding the Session
session_decode() is used for decoding session. It decodes the session from a string. It returns True on success or False on failure.
Syntax
bool session_decode ( string $data )
Parameters
data
The encoded data to be stored.
Example:
This example shows you to how to set decoding session.
<?php
session_start();
$session=$_SESSION["brijesh"];
echo "gggggg".$session."<br>";
session_decode($session);
echo "hhhhhh".$session;
?>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.