i want to use a sssion variable like this

$var= $_SESSION['var1'];//this is a dynamic variable, can be altered along with each page refresh
$_SESSION['var']=0;
echo $var;//or like this echo $_SESSION['var'];

var is a php variable
i want to use that variable as session variable;
$_SESSION['$_SESSION['p_name']'];//is it possible?

Comments

nedjo’s picture

I think this should work. Please test using the module and report back.

nedjo’s picture

Status: Active » Closed (fixed)

No response.