i am ensuring on both pages i have first of all called session_start();
on one page i declared
$_SESSION["username"]=$username;
the link of another page is on this page.
and another page i tried to print it by
echo $_SESSION["username"];
but it showed nothing.
i am using php 5.4 with apache and mysql.
lookin for your reply. thanks in advance.