I wrote in SessionStorage a variable "level" with value "4" with Javascript.
sessionStorage.setItem('level', 4);
But when I want to read it with PHP, it makes error :/
echo $_SESSION["level"];
Picture of the problem
How can I resolve this problem ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…