This commit is contained in:
brad Arant committed 2025-05-01 19:02:17 -07:00
1 parent 078ba7f81c
commit 0159050b7d
2 files changed
+27 -9

No files matched your search

+2 -3
View File
@@ -13,15 +13,14 @@ namespace jet {
global.cgi = true;
if(keywordDefined("sessiondir")) {
global.cookies = getenv("HTTP_COOKIE");
global.session = true;
global.cookies = getenv("HTTP_COOKIE");
// if request_has_cookie then
// pull sessionfile from sessiondir.
// if last activity time is expired then ignore.
// follow sessiontimeoutredirecturl.
// else
// generate new session id.
// create session cookie in response.
unsigned char hashit[64];
unsigned char hash[SHA_DIGEST_LENGTH];
char hashname[64];