Hi:
It is my understanding that EE session data is generally unavailable to non-EE pages. However, I have a few applications, that are not a part of EE, where I would like to use certain session data in order to verify login status and user access credentials.
I was wondering – If I write a PHP function on an EE page that returns session data, will those functions run properly when that function is called from a non-EE page?
I did write some simple script that creates non-EE session variables from EE session variables. However, using this method would necessarily require that I re-engineer the default login pages in EE, which I am very reluctant to do.
Please advise. Thank you…
If the non EE pages are PHP based you should be able to write a PHP function that grabs session data that works independantly of EE.
But a function within an EE page (I’m assuming you mean a template) is going to run in EE before you can retrieve it.
So whatever it does programatically is going to happen before your non EE page gets ahold of it. From your post I think thats probably not what you are going for.
Jamie
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.