How do I fix (warning: session_start() : Cannot send session cache limiter) on my php script??? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How do I fix (warning: session_start() : Cannot send session cache limiter) on my php script???

2nd Jan 2019, 10:34 AM
Makumi Wainaina
Makumi Wainaina - avatar
2 Respostas
+ 2
Hi! youre already sending a header thats why youre getting that error! If you only have one script file make sure session_start() is the first line of code in your script after <?php, remove any white space, if itā€™s in an html file check if itā€™s on top of <!Doctype htlm>.
5th Jan 2019, 12:13 AM
StoneCoderšŸ‡¬šŸ‡¦
StoneCoderšŸ‡¬šŸ‡¦ - avatar
+ 1
thanks. I fixed it and am all cheers
22nd Jan 2019, 9:13 AM
Makumi Wainaina
Makumi Wainaina - avatar