i've two files one is send-data.php which contains html form and another one is receive-data.php, i am converting the form value as session value into second file and printing using echo. but it's not printing the output.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<form action="receive-data.php" method="post">
<input name="cardno" type="text" size="30" />
<input name="Send" type="submit" value="submit" />

echo "Pageviews=". $_SESSION['cardno'];

Should be

$_SESSION['cardno'] = $_POST['cardno'];