Seo Panel Help

Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:


Common Session Functions Available for Development of Seo Panel Plugin

Session Management Functions

The common session management functions are


1) checkLoggedIn()

Function to check whether user logged in to the seo panel or not. If not logged in, current page will be redirected to login page.

2) checkAdminLoggedIn()

Function to check whether admin logged in to the seo panel or not. If not logged in, current page will be redirected to login page.

3) isLoggedIn()

Function to get logged in user’s id in seo panel.

Return
If user logged in, “user id” will be returned.
If user not logged in, false will be returned.

4) isAdmin()
Function to get logged in admin’s id in seo panel.

Return
If admin logged in, “admin id” will be returned.
If admin not logged in, false will be returned.



RSS