Username:

Password:


  • Home
  • Help
  • Search
  • Downloads
  • Login
  • Register
CubeCart - FreeForums For All » CubeCart 5 » Developer's Kit » Session Class
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Session Class
Chief!
Administrator
Newbie
*****
Posts: 13


Session Class
« on: February 09, 2012, 03:01:54 PM »

Session
- $_state = 'active'; string; Current session status
- $_session_timeout = 36000; int; Session timeout
- $_user_blocked   = false; bool; User blocked state
- static $_instance; instance; Class instance
const BLOCKER_FRONTEND = 'F';
const BLOCKER_BACKEND = 'B';
- __construct; final
+ __destruct
+ getInstance; static
+ blocked; Is a user blocked?
+ blocker; Block a user
+ checkToken; Check a form token
+ delete; Delete something from the session
+ destroy; Destroy session
+ get; Get data from the session
+ getBack; Get 'back' from the session
+ getId; Get session id
+ getName; Get session name
+ getState; Get the session state
+ getToken; Create a session token to help stop spam
+ has; Does the session have something
+ isEmpty; Is an element empty
+ restart; Restart / regenerate a session
+ set; Set a session value to something
+ setBack; Set a page back to the session
- _close; Close a session
- _createToken; Create a form token
- _namespace; Check & build the namespace
- _setTimers; Setup session timers
- _start; Start a session
- _validate; Validate a session exists in database
This is a test of a table floating to the right.
Report to moderator   Logged
Pages: [1]   Go Up
Print
« previous next »
Jump to:  

Powered by SMF 1.1.23 | SMF © 2015, Simple Machines
Nly-Grey Theme by N a t i
Loading...