PHP Manual
Prev |  | Next

# session_start

session_start -- Initialize session data

## Description

`bool session_start`(void);

session_start() creates a session (or resumes the current one based on the session id being passed via a GET variable or a cookie).

This function always returns true.

> Note: This function was added in PHP 4.0.

Prev | Home | Next
Session handling functions | Up | session_destroy