Class: rewrite_session

Quellcode Position: Program_Root/sys_session.php

Class rewrite_session

Class Overview
Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_object

base_object::$msgs

Abgeleitet von base_object

base_object::addmsg()
Adds a message in the message object.
base_object::createPluginObject()
Create plugin object
base_object::debug()
Show the debug of the variable &$var
base_object::encodeQueryString()
Encode query string
base_object::escapeForFilename()
Escape chars in a string to use it in a filename
base_object::getAbsoluteURL()
Return absolute URL
base_object::getBaseLink()
Get base link
base_object::getBasePath()
get base path to current script
base_object::getLink()
Get link
base_object::getSessionValue()
base_object::getWebLink()
Get web link
base_object::getWebMediaLink()
Get web media link
base_object::includePluginFile()
Include plugin file
base_object::initializeParams()
Parameter initialisation
base_object::initializeSessionParam()
Initialisation of session-parameter
base_object::logMsg()
Log events
base_object::parseRequestURI()
Parse request URI to filter data out of it
base_object::setSessionValue()
base_object::stripslashes()
base_object::_gt()
Phrasetranslator - Fetch translation for all phrase
base_object::_gtf()
Phrasetranslator - Fetch translation of one phrase and insert variable
base_object::_gtfile()
Phrases - Locate files

Properties Summary
string   $robots   Robots, User-Agents von Suchmaschinen, Crawlern, Robots, ...
integer   $sessionVarMode   Session-variable - depend of PHP-version
string   $session_id   Session ID
string   $session_mode   Session-ID mode
string   $session_name   Session name starting with "sid"
boolean   $want_session   Session desired ?

Method Summary
rewrite_session   rewrite_session()   Konstruktor
boolean   checkRobot()   Check browser is valid
boolean   checkSID()   Check seassion id
mixed   checkSID_Cookie()   Get SID out of Cookie
void   checkSID_GETParam()  
mixed   checkSID_Param()   Get SID out of Parmeter
mixed   checkSID_Path()   Get SID out of Pfad
void   checkSID_POSTParam()  
void   checkTransSID()  
void   createSID()   Session-ID erstellen
void   destroy()   Destroy seassion
void   getValue()   Get variable either out of globals or out of session. Decide by Variable sessionVarMode.
void   register()   Variablen werden in der Session registriert!
void   reloadPage()   Reload page
void   sessionAllowed()   Session permitted? - no sessions for robots
integer   sessionVarMode()   Check mode for session variables
void   session_start_from_rewrite()   Determine Session-ID and URL, evt.
void   setValue()   Store variable either in globals or in session. Decide by Variable sessionVarMode.
void   start()   Start session

Properties
string   $robots = array('mnogosearch-dimensional', 'Bot', 'bot', 'Crawl', 'crawl', 'Spider', 'spider', 'appie',
'Ask Jeeves', 'ASPSeek', 'ASPseek', 'AvantGo', 'bigfoot.com', 'BlitzBOT', 'blogchecker', 'BSDSeek',
'bumblebee@relevare.com', 'Charybdis', 'cosmos', 'curl', 'db/0.2; spc', 'DiaGem', 'DISCo Pump', 'EmailSiphon',
'FairAd', 'Firefly', 'flunky', 'fmII URL validator', 'gazz', 'GetRight', 'Getweb', 'Google', 'Gozilla',
'Gulliver','htdig', 'HTTrack', 'ia_archiver', 'Ideare', 'Indy Library', 'InternetLinkAgent', 'Java', 'Jigsaw',
'larbin', 'libcurl', 'libwww', 'LinkLint', 'LinkMan', 'LinkWalker', 'LiSEn', 'lwp', 'Mercator',
'Microsoft URL Control', 'mnogo', 'moget', 'msnbot', 'MS Search', 'Netcraft', 'NG/1.0', 'Netprospector',
'Offline Explorer', 'Openfind', 'OPen sourfce retriver', 'Perl', 'PHP', 'Pompos', 'Powermarks', 'reifier',
'RPT-HTTPClient', 'Robozilla', 'sun4u', 'Scooter', 'ScoutAbout', 'SearchTone', 'SignSite',
'sitecheck.internetseer.com', 'Slurp', 'SlySearch', 'Snoopy', 'Spinne', 'SurferX', 'Steeler', 'Teradex Mapper',
'Tkensaku', 'Teleport', 'vias.ncsa.uiuc.edu', 'Vagabondo', 'Vayala', 'Viking', 'w3mir', 'W3C_Validator',
'Watchfire WebXM', 'www.walhello.com', 'webcollage', 'WebCapture', 'WebCopier', 'Web Downloader', 'WebReaper',
'Webshuttle', 'WebStripper', 'Wget', 'WhizBang', 'Whizbang', 'WWWC', 'WWWOFFLE', 'Xenu Link Sleuth',
'yahoo.com', 'ZyBorg')
[Zeile 43]

Robots, User-Agents von Suchmaschinen, Crawlern, Robots, ...


integer   $sessionVarMode [Zeile 62]

Session-variable - depend of PHP-version


string   $session_id [Zeile 26]

Session ID


string   $session_mode [Zeile 37]

Session-ID mode


string   $session_name = sid [Zeile 31]

Session name starting with "sid"


boolean   $want_session [Zeile 68]

Session desired ?


Methods
Constructor rewrite_session  [Zeile 75]

  rewrite_session rewrite_session( string $name, [boolean $start = ""true], [mixed $fallback_mode = 'rewrite']  )

Konstruktor

Parameters:
string   $name:  Session name
boolean   $start: 


checkRobot  [Zeile 297]

  boolean checkRobot( )

Check browser is valid


API Tags:
Access:  public


checkSID  [Zeile 133]

  boolean checkSID( )

Check seassion id


API Tags:
Access:  public


checkSID_Cookie  [Zeile 168]

  mixed checkSID_Cookie( )

Get SID out of Cookie


API Tags:
Return:  seassion id or boolean


checkSID_GETParam  [Zeile 193]

  void checkSID_GETParam( )



checkSID_Param  [Zeile 183]

  mixed checkSID_Param( )

Get SID out of Parmeter


API Tags:
Return:  Seassion id or false


checkSID_Path  [Zeile 219]

  mixed checkSID_Path( )

Get SID out of Pfad


API Tags:
Return:  integer or false


checkSID_POSTParam  [Zeile 204]

  void checkSID_POSTParam( )



checkTransSID  [Zeile 227]

  void checkTransSID( )



createSID  [Zeile 122]

  void createSID( )

Session-ID erstellen



destroy  [Zeile 314]

  void destroy( string $url  )

Destroy seassion

Parameters:
string   $url:  calling URL

API Tags:
Access:  public


getValue  [Zeile 370]

  void getValue( string $varname  )

Get variable either out of globals or out of session. Decide by Variable sessionVarMode.

Parameters:
string   $varname:  variable name


register  [Zeile 334]

  void register( )

Variablen werden in der Session registriert!


API Tags:
Access:  public


reloadPage  [Zeile 240]

  void reloadPage( $sid $sid  )

Reload page

Parameters:
$sid   $sid: 


sessionAllowed  [Zeile 279]

  void sessionAllowed( )

Session permitted? - no sessions for robots



sessionVarMode  [Zeile 84]

  integer sessionVarMode( )

Check mode for session variables


API Tags:
Return:  $this->sessionVarMode


session_start_from_rewrite  [Zeile 107]

  void session_start_from_rewrite( string $name, [string $fallback_mode = 'rewrite']  )

Determine Session-ID and URL, evt.

start seassion

Parameters:
string   $name:  optional, default value ""
string   $fallback_mode:  optional, default value 'rewrite'

API Tags:
Access:  public


setValue  [Zeile 356]

  void setValue( string $varname, string $value  )

Store variable either in globals or in session. Decide by Variable sessionVarMode.

Parameters:
string   $varname:  variable name
string   $value:  value variable


start  [Zeile 268]

  void start( )

Start session