Please help me........
i have a problem with session
i use session in my site to authenticate user.but the problem is that i get session value in all pages except one page.
In this page some time session occurs but some times not.i am so confused
this is my code to store session from previous page.
<?php session_start();
$linuser=$SESSION['linuser'];
$luser=$SESSION['luser'];
$cuser= $SESSION['cuser'];
$iuser=$SESSION['iuser'];
if((isset($cuser))||(isset($luser))||(isset($linuser))||(isset($iuser)))
{
echo "description";
}else
{
$msg="Please registered first";
}
?>
but when i press back button of browser.these variable are filled in previous page.
I got this problem only in this page.
i already specified that sometimes these variable has value but sometimes not.....
i also define another session is same to store url..
like
$_session['url']="www.google.com";
it has value but above is not shown..............
any help is appreciated......