created INTEGER function on operand.

This commit is contained in:
Brad Arant committed 2025-02-04 09:28:28 -08:00
1 parent ce6b163d5d
commit 10db0e9c70
3 files changed
+12 -4

No files matched your search

+3 -3
View File
@@ -9,7 +9,7 @@ namespace jet {
if(keywordDefined("cgi") && (resolveKeyword("cgi") == "true")) {
global.cgi = true;
cookies = getenv("HTTP_COOKIE");
// cookies = getenv("HTTP_COOKIE");
if(keywordDefined("sessiondir")) {
global.session = true;
@@ -20,7 +20,7 @@ namespace jet {
// else
// generate new session id.
// create session cookie in response.
char hashit[64];
/* char hashit[64];
char hash[32];
sprintf(hashit, "JETSESSION%ld", time(0));
SHA1(hashit, strlen(hashit), hash);
@@ -32,7 +32,7 @@ namespace jet {
if(keywordDefined("sessiontimeout")) {
time_t timeout = time(0) + keywords["sessiontimeout"].asInteger();
}
*/
// also save last activity time in session file.
}