diff --git a/__jet.cpp b/__jet.cpp index 7f7e002..5b5a6fe 100644 --- a/__jet.cpp +++ b/__jet.cpp @@ -13,8 +13,9 @@ 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.