No details? Phpsession_start (); $ _ SESSION [name] Momo; $ _ SESSION [age] 19; echosession: br; print_r ($ _ SESSION); echobrcookie: br; print_r ($ _ COOKIE); echobr: this is session. php; ** first output: session: Array ([name] Momo [age] 19
No details? Phpsession_start (); $ _ SESSION ['name'] = "momo"; $ _ SESSION ['age'] = 19; echo 'session: br /'; print_r ($ _ SESSION); echo 'br/cookie: br/'; print_r ($ _ COOKIE); echo 'br/This is the session. php ';/** first output: session: Array ([name] = Momo [age] = 19
<无详细内容> <无>
'; Print_r ($ _ SESSION); echo'
Cookie:
'; Print_r ($ _ COOKIE); echo'
This is the session. php ';/** first output: session: Array ([name] => Momo [age] => 19) cookie: Array () this is session. php ** output: session: Array ([name] => Momo [age] => 19) cookie: Array ([PHPSESSID] => maid) this is session. php **/?>
'; Print_r ($ _ SESSION); echo'
Cookie:
'; Print_r ($ _ COOKIE); echo'
This is testsession. php ';/** output: session: Array ([name] => Momo [age] => 19) cookie: Array ([PHPSESSID] => maid) This is testsession. php **/?>