Session variables lost between pages [duplicate]
问题 This question already has answers here : PHP session lost after redirect (34 answers) Closed 3 years ago . In a page, two variables are passed in a URL. In the second page, these variables are initialized. At submit, new page open. The problem is here, I can't recover the session variables. The script indicate a error (undefined index). Thanks for help in advance. Here the code : First page : <?php $requete_cours="SELECT COURS.SIGLE AS SIGLE, ANNEE FROM COURS, MODULE WHERE COURS.ID_MODULE =