Is session_start(); function required in CodePlayground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is session_start(); function required in CodePlayground?

I am getting errors with session_start() function in code playground. My code works flawlesly on my browser but does not work on code playground. It uses sessions.

18th Aug 2016, 11:00 AM
Bekir Uzun
Bekir Uzun - avatar
2 Answers
+ 1
i dont think it gets saved either. Session cookies are stored in browser and there is no save path set or cannot be set in playground. i suppose its just a terminal app. so better install apache on your pc and try code in browser. as session cookies is the client side browser thing.
20th Nov 2016, 2:43 PM
Motsim
Motsim - avatar
- 2
Removing session_start(); seems solved error messages but my code still doesnt works
18th Aug 2016, 11:00 AM
Bekir Uzun
Bekir Uzun - avatar