I am running PHP 7 on Azure server, and when I am posting my form I am attempting to store the variable in $_SESSION then redirect to another page. Usually I am redirected to the next page and there is nothing in the session variable, but if I refresh the page a couple times data will pop up out of nowhere.
I came from this post, and it was very helpful and sounds like the exact problem I am having. I tried the suggestion on there such as adding 'ini_set("session.save_handler", "files");' and 'session_save_path(dirname(FILE). '/sessions/');' before the session_start(), but neither seemed to change anything.
Here is a screencap of my php session info on the page I am running: 
Any help or ideas would be appreciated!
Aucun commentaire:
Enregistrer un commentaire