session_start Throws Fatal Error

前端 未结 3 533
醉话见心
醉话见心 2021-01-29 03:04

I\'m currently working on a small CMS for my website and I\'m getting following error when calling session_start() :

Fatal error: Exception thrown withou

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 04:01

    So, as I was told, saving a PDO object in the session does invoke that error. I used a workaround, I'm now setting up da connection for each request, instead of storing connections in the session.

    Thanks for your help !

提交回复
热议问题