Zed. The source code to build a world.

sessions.php

Sessions

Zed. The immensity of stars. The HyperShip. The people.

(c) 2010, Dereckson, some rights reserved. Released under BSD license.

This file provides functions to manage sessions. It's not currently properly documented, as it's a temporary old session file, which will be updated soon.

Tags
subpackage

Keruald

author

Sébastien Santoro aka Dereckson dereckson@espace-win.org

copyright

2010 Sébastien Santoro aka Dereckson

license

http://www.opensource.org/licenses/bsd-license.php BSD

version
0.1
link
http://scherzo.dereckson.be/doc/zed
link
http://zed.dereckson.be/
filesource
todo

Replaces this code by the unified Keruald session class.

Table of Contents

Functions

session_update()  : mixed
nbc()  : mixed
get_info()  : mixed
get_logged_user()  : mixed
set_info()  : mixed
clean_session()  : mixed
Destroys $_SESSION array values, help ID
login()  : mixed
Logs in user
logout()  : mixed
Logs out user

Functions

session_update()

session_update() : mixed

get_info()

get_info(mixed $info) : mixed
Parameters
$info : mixed

get_logged_user()

get_logged_user() : mixed

set_info()

set_info(mixed $info, mixed $value) : mixed
Parameters
$info : mixed
$value : mixed

clean_session()

Destroys $_SESSION array values, help ID

clean_session() : mixed

login()

Logs in user

login(mixed $user_id, mixed $username) : mixed
Parameters
$user_id : mixed
$username : mixed

logout()

Logs out user

logout() : mixed

        
On this page

Search results