php 7 – session_set_save_handler

session_set_save_handler(“open”, “close”, “read”, “write”, “destroy”, “gc”);

function read($id) { //if we can’t find the data for this session, we must return ” (empty string) , can’t return false return ”; }

Leave a Reply

Your email address will not be published. Required fields are marked *