After the session is saved, how can I check the information about the variables and attribute values in the session (what are the array subscripts), or where are the session files stored? What is TEMP used by teachers?
kevlin
2017-10-01 16:03:05
Use session::set('user_info',$data); in $data to use the data submitted by the form to view the attribute information of user_info
The teacher did not record the session. The saved info contains the id attribute. You can just save a separate one by yourself. Run the entire program first
$_SESSION is a global array, you can view the contents of the session through print_r($_SESSION)
session start and then $_SESSION is accessed as an array