2013-04-16, 03:31:00
I want to create my own simple plugin with their own CRUD administration backend. I tried to embed (php way) it in GS backend. It requires session_start() init before the plugin page backend loading.
My Question is:
1. Where is the right place to put session_start() based on my case
is it okay by using this? add_action('admin-pre-header', 'forms_init');
or is there any other way?
2. What is the session name for backend? I ask this cause i need to check whether the user has an authenticated admin session or not.
thanks..
My Question is:
1. Where is the right place to put session_start() based on my case
is it okay by using this? add_action('admin-pre-header', 'forms_init');
or is there any other way?
2. What is the session name for backend? I ask this cause i need to check whether the user has an authenticated admin session or not.
thanks..