Access cakephp session (auth) from outside cakephp
I have a CakePHP website with its own login system using the Auth component.
A user has logged in and is navigating the website. At one point, he can click a link that opens an external PHP file.
The “tricky” thing (for me) is to only show the contents of that PHP file if the user is logged in (to prevent someone without an account accessing those contents). I can’t use Auth there because I’m “outside” Cake… I don’t know if maybe using $_SESSION, but I don’t know how…
Is this even possible?
Does anybody have any ideas?