I have a php app done in a custom framework (similar to CodeIgniter) which has a session.
The session cookie has root as path.
app
App url: sub.domain.com/admin/index.php
App dir path: 'public_html/admin/index.php'
Here $_SESSION
is fine, with all the data.
...
I created a new directory: public_html/new/index.php
When viewing this new page, the session cookie is still there, but $_SESSION
is empty.
What could be the explanation?
Could I get
$_SESSION
data otherwise?