Type in the function that must be called before working with the session variables. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Type in the function that must be called before working with the session variables.

2nd Mar 2017, 6:48 AM
muhammad sajjad
4 Answers
+ 1
session_start() must be at the top of every PHP file in which you work with $_SESSION variables.
2nd Mar 2017, 8:45 AM
Dev
Dev - avatar
+ 1
session_start
3rd May 2021, 1:25 PM
IMTIAZ AHMAD
IMTIAZ AHMAD - avatar
0
session_start
20th Aug 2021, 11:29 AM
Vladislav Fedorov
- 1
$_session
2nd Mar 2017, 8:24 AM
Andre van Rensburg
Andre van Rensburg - avatar