pronto/core/session.php File Reference

Go to the source code of this file.

Classes

class  Session_DB

Functions

 start_session ($sess_id='')

Function Documentation

start_session ( sess_id = ''  ) 

Start the session. In a normal scenario, the session ID is automatically fetched from the cookie name (as defined by SESSION_COOKIE). However, if you already know the session ID, you can bypass all the cookie stuff and start the session manually.

This is useful in situations where cookies aren't available. For example, Flash does not pass cookies with HTTP requests.

Parameters:
string $sess_id If set, use this session ID instead of looking in the session cookie.
Returns:
none

Definition at line 128 of file session.php.

References $db, Registry::get(), and Registry::set().

Referenced by Web::finish().


Generated on Wed Jan 13 09:21:02 2010 for Pronto Framework by  doxygen 1.6.1