Posted by upendrajpr on 09/05/07 11:27
Dear friend ,
As i authenticate my some other page with
editdelete.php
-----------------------
session_start();
if ((isset($_SESSION['validUser'])) && ($_SESSION['validUser'] ==
"Y"))
{ ?>
Show some text
else
{ // return to index file
header ("Location: index.php");
}
My problem is I could not get the $_SESSION['validUser'] variable
valued on this page .
login.php
------------
Though I get the value from originating page
if (($txucode==1) && ($pass_status==1)) { if(!
isset($_SESSION['validUser'])) {
$_SESSION['validUser'] = "Y"; }
How could I get the value of $_SESSION['validUser'] in
the editdelete.php
Thanx in advance
with regards
situ
[Back to original message]
|