Home Tutorial Php Examples Decoding the session

 
 

Share on Google+Share on Google+
Decoding the session
Posted on: July 31, 2009 at 12:00 AM
Advertisement
In this example you will learn about decoding the session in PHP.

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;
?>

Advertisement

Related Tags for Decoding the session:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: July 31, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com