How to hide the Session_start notice print

A notice is printed saying "Session already started" because I'm doing a session_start() even though I have sessions autostart=1 in the php.ini file.

I would still like to see other kind of notices, but how could I hide this particular one?
Who is Participating?
Try @session_start()
ecchymoseAuthor Commented:
Nice!  it works!

but what does the @ is doing exactly?
It hides the warning. Its not a good practice, but you can use it if you are sure it wont mess up the rest of your page. :)

Thanks for the points
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.