From 288330d384f1e69126aabab13f96ab30ebb827b3 Mon Sep 17 00:00:00 2001 From: Simon Leblanc Date: Sun, 15 May 2011 05:50:13 +0200 Subject: [PATCH] check session before create it --- creation_sondage.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/creation_sondage.php b/creation_sondage.php index fa4fb25..bf39078 100644 --- a/creation_sondage.php +++ b/creation_sondage.php @@ -37,7 +37,9 @@ // //========================================================================== -session_start(); +if (session_id() == "") { + session_start(); +} include_once('fonctions.php');