Go to the source code of this file.
Classes | |
| class | Session_DB |
Functions | |
| start_session ($sess_id='') | |
| 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.
| string | $sess_id If set, use this session ID instead of looking in the session cookie. |
Definition at line 128 of file session.php.
References $db, Registry::get(), and Registry::set().
Referenced by Web::finish().
1.6.1