Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
session_start for plugin?
#1
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..
Reply


Messages In This Thread
session_start for plugin? - by whiteh0rs3 - 2013-04-16, 03:31:00
RE: session_start for plugin? - by mvlcek - 2013-04-16, 07:00:56
RE: session_start for plugin? - by shawn_a - 2013-04-16, 09:47:12
RE: session_start for plugin? - by whiteh0rs3 - 2013-04-17, 20:11:10



Users browsing this thread: 1 Guest(s)