Notice: A session had already been started – ignoring session_start

php 页面中出现 Notice: A session had already been started – ignoring session_start报错信息,出现这个错误提示,是因为页面中多次启用了session_start会话导致。

对于上述的解决方案是:找到报错行,去除session_start会话。