How do I check for FEU user login state in an external .php file?
Posted: Sat Jun 14, 2008 4:10 pm
Hello
I am currently running a external php file using lightwindow from the CMSMS site
In this php file I wish to have some sort of security based on the FrontEndUser module and perhaps also CustomContent if that makes it easier
Only way to transfer the account id ATM is by sending it as a variable from the link on the CMSMS site to the php file - not something I like very much
So I want to know if I can
a) retrieve logged in persons loginid and loginname from an external php file
b) check if user is logged in before proceeding in the external php file
Thank you very much - promise to post solution if I find it on my own
I am currently running a external php file using lightwindow from the CMSMS site
In this php file I wish to have some sort of security based on the FrontEndUser module and perhaps also CustomContent if that makes it easier
Only way to transfer the account id ATM is by sending it as a variable from the link on the CMSMS site to the php file - not something I like very much
So I want to know if I can
a) retrieve logged in persons loginid and loginname from an external php file
b) check if user is logged in before proceeding in the external php file
Thank you very much - promise to post solution if I find it on my own