3xtr3m3d
asked on
php session related help needed
Hi
Is it possible to modify a session variable after set?
Thanks
Is it possible to modify a session variable after set?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or maybe I didn't understand your question? If so, please elaborate.
It's confusing do you want to change session name or session value if you want to change session value it is possible.
Like:
Like:
<?php session_start();
$abc="Welcome";
$_SESSION['value']=$abc;
echo $_SESSION['value'];//Here session value is Welcome
$newval="Now I am changing the Value";
$_SESSION['value']=$newval;
echo $_SESSION['value']; //Here session value is changed.
?>
ASKER
Hi Thanks for the quick answers and solution
i just wanted to change session value and now it works
Thanks
i just wanted to change session value and now it works
Thanks