04-11-2017, 06:22 PM
Hello!
First, I'd like to say thank you for developing this.
I want to make an ajax call on a user restricted page. I set the target to the same php page and put the php code which handles the ajax call directly after the init script, but before header and navigation.
The Problem is, I need to tell the User ID within the ajax called php-handler. But since it is an ajax call, the user ID is not available (user token not submitted). Would it be safe to just submit the token within the ajax call? And if so, how do I get the token?
Thanks for advice!
First, I'd like to say thank you for developing this.
I want to make an ajax call on a user restricted page. I set the target to the same php page and put the php code which handles the ajax call directly after the init script, but before header and navigation.
The Problem is, I need to tell the User ID within the ajax called php-handler. But since it is an ajax call, the user ID is not available (user token not submitted). Would it be safe to just submit the token within the ajax call? And if so, how do I get the token?
Thanks for advice!