worked on cgi session stuff.

This commit is contained in:
Brad Arant committed 2025-03-06 14:54:54 -08:00
1 parent 167ee75658
commit f150389672
3 files changed
+12 -6

No files matched your search

+2 -3
View File
@@ -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.