Code Search for Developers
 
 
  

session_interface.php from ECP (EliteCore Project) at Krugle


Show session_interface.php syntax highlighted

<?php

class AuthException extends Exception {}

/**
 * Session object which checks if current user is guest,registered and what are his rights.
 *
 * @package Session
 * @author Luke Satin <cyberluk@seznam.cz>
 * @version 1.0
 */
interface Session_interface {
    /**
     *
     * @return bool Returns true if current session is valid eg. the user is logged in.
     */
	public static function isValid();
    /**
     * This main method of Session class creates new session and sets its properties.At first it checks for users cookie validity and sends it to the {@link User} object.
     *
     * @return bool A boolean value is returned. You get TRUE if session is valid = user is logged or has been logged in and FALSE if session is no longer valid or if there was a possible security issue.
     */
	public static function Create();
	public static function Logout();
	public static function getSID();
}

?>



See more files for this project here

ECP (EliteCore Project)

EliteCore Project is a PHP5.1/Javascript/AJAX/XHTML/CSS framework for creating WEB 2.0 applications and services.The basic open-source instalation can be also used as an interactive personal page or BLOG.This project uses the latest features available.

Project homepage: http://sourceforge.net/projects/elitecore
Programming language(s): JavaScript,PHP,XML
License: cpl

  encryption.php
  form.php
  module_class.php
  session_interface.php