aboutsummaryrefslogtreecommitdiff
path: root/www/html
diff options
context:
space:
mode:
Diffstat (limited to 'www/html')
-rwxr-xr-xwww/html/index.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/html/index.py b/www/html/index.py
index a23a18d..caa6060 100755
--- a/www/html/index.py
+++ b/www/html/index.py
@@ -1,12 +1,15 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
-import mod_python
+from mod_python import Session
from fonctions import baseHTML, connexionBD, lien
def index(req):
req.content_type="text/html"
+ sess=Session.Session(req)
+ sess.save()
+
content=str()
#sql part