worked on cgi session stuff.
This commit is contained in:
1 parent
167ee75658
commit
f150389672
3 files changed
+12
-6
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "__jet.h"
|
||||
#include "Exception.h"
|
||||
#include "Global.h"
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <openssl/ssl.h>
|
||||
@@ -12,9 +13,7 @@ namespace jet {
|
||||
global.cgi = true;
|
||||
|
||||
if(keywordDefined("sessiondir")) {
|
||||
coreutils::ZString cookies = getenv("HTTP_COOKIE");
|
||||
storeVariable("cookies", cookies, "global");
|
||||
|
||||
cookies = getenv("HTTP_COOKIE");
|
||||
global.session = true;
|
||||
// if request_has_cookie then
|
||||
// pull sessionfile from sessiondir.
|
||||
|
||||
Reference in new issue
Block a user