Dear All,
plz see the following code
firstpage.php
session_start();
class firstpage
{
var $uname;
var $password;
}
$firstpage=new firstpage;
$firstpage->uname='bvsureshbabu@redifmail.com';
$firstpage->password='india';
$_SESSION["registerdata"]=$firstpage;
header("Locaton: secondpage.php");
secondpage.php
session_start();
in this page i have to receive the object stored in session
with the name" registerdata" and i have to display the username and password stored in that object
regards
bvsureshbabu