Seo Panel Help
Search:     Advanced search
Browse by category:
Contact Us

Common Session Functions Available for Development of Seo Panel Plugin

Add comment
Views: 4243
Votes: 0
Comments: 0
Posted: 11 May, 2011
by: Varghese G.
Updated: 11 May, 2011
by: Varghese G.
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.
Others in this Category
document Introduction
document Steps to Create a Seo Panel Plugin
document Common Database Functions Available for Development of Seo Panel Plugin
document Common Plugin Functions and Constants Available for Development of Seo Panel Plugin
document Steps to use the Newletter plugin.



RSS