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
kevlin 2017-10-01 16:03:05
0
3
2142

Use session::set('user_info',$data); in $data to use the data submitted by the form to view the attribute information of user_info

kevlin
kevlin

reply all(3)
明空

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

寻觅 beyond

$_SESSION is a global array, you can view the contents of the session through print_r($_SESSION)

qzuser

session start and then $_SESSION is accessed as an array

  • reply For example: $_session['name'] or session::get('name') I want to know whether name exists, and whether it is empty, and what other subscript values ​​similar to name exist.
    kevlin author 2017-10-03 15:56:36
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template