Share on Google+Share on Google+

Session Date Encode

In this example you will learn about session date encode in PHP.

Session Date Encode

In this example, you will learn how to encode date session. First create a HTML form and call the PHP form action in it.

In PHP code, use session_encode () function to access session date encode.

For this first register the session and define the session variable. 

$_SESSION["Roseindia"]= "Roseindia";

HTML Action Form

<title>Encode Session Data</title>
<form action="sessiondecode.php" method="get"/>
<input type="submit" name="submit"/>


Posted on: July 31, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial 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.