forked from cory/tildefriends
Removed some session cruft.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3379 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -9,6 +9,7 @@ var network = require("network");
|
||||
|
||||
var gProcessIndex = 0;
|
||||
var gProcesses = {};
|
||||
var gSessionIndex = 0;
|
||||
|
||||
var gGlobalSettings = {
|
||||
index: "/~cory/index",
|
||||
@ -35,11 +36,7 @@ function getCookies(headers) {
|
||||
}
|
||||
|
||||
function makeSessionId() {
|
||||
var id = "";
|
||||
for (var i = 0; i < 64; i++) {
|
||||
id += (Math.floor(Math.random() * 16)).toString(16);
|
||||
}
|
||||
return id;
|
||||
return (gSessionIndex++).toString();
|
||||
}
|
||||
|
||||
function printError(out, error) {
|
||||
|
Reference in New Issue
Block a user