PHP: Sessions across includes
I am needing to use sessions for my php page, so, on my index.php page, I add session_start(); right after the opening php tag.

But, this page has some includes, inside of which have other includes.  So, deeper down, when I want to call a $_SESSION var, it is not working.

How can I access a session var even deep down into .inc files?
PHP: Sessions across includes
===

I am needing to use sessions for my php page, so, on my index.php page, I add session_start(); right after the opening php tag.

But, this page has some includes, inside of which have other includes.  So, deeper down, when I want to call a $_SESSION var, it is not working.

How can I access a session var even deep down into .inc files?