Skip to content

Instantly share code, notes, and snippets.

View franksacco's full-sized avatar

Francesco Saccani franksacco

View GitHub Profile
--
-- Skyscrapers: game solution checker
--
import Data.List
import System.IO
-- Read matrix values from a string
@franksacco
franksacco / session-handler-life-cycle.md
Last active August 23, 2024 12:44
A complete overview of PHP session handler life cycle

A complete overview of PHP session handler life cycle

The purpose of this document is to provide a complete overview of the PHP session handler life cycle updated to version 7.0 or above. In particular, I want to emphasize what methods and in what order are called when the native PHP functions are used for session management.
I created this document because the information on the web and the official documentation are very superficial on this topic, in particular on what concerns the implementation of a safe and stable session handler.