PHP sample code for modifying session_id. The copy code is as follows: if (isset ($ _ GET [se]) {$ se $ _ GET [se] ;}else {return ;}if (! Empty ($ se) {echo (received ESE:. $ se. brbr); the received session is $ sesession_id ($ s)
The code is as follows:
If (isset ($ _ GET ["se"]) {
$ Se = $ _ GET ["se"];
} Else {
Return;
}
If (! Empty ($ se )){
Echo ("receive se:". $ se ."
"); // The accepted session is $ se
Session_id ($ se); // Set $ se bit session_id
Session_start (); // enable sesseion. Note that it cannot be reversed with the previous step.
Echo ("new session id:". session_id ()."
");
Echo $ _ SESSION ['H'];
}
The http://www.bkjia.com/PHPjc/676880.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/676880.htmlTechArticle code is as follows: if (isset ($ _ GET ["se"]) {$ se = $ _ GET ["se"] ;}else {return;} if (! Empty ($ se) {echo ("receive se :". $ se. "/br"); // The accepted session is $ se session_id ($ s...