Comparison

util/session.lua @ 6937:f5d2e58fbefa

util.session: What is a session?
author Kim Alvefur <zash@zash.se>
date Tue, 24 Nov 2015 19:00:43 +0100
child 6938:9df70e9e006b
comparison
equal deleted inserted replaced
6933:d636815d81c3 6937:f5d2e58fbefa
1
2 local function new_session(typ)
3 local session = {
4 type = typ .. "_unauthed";
5 };
6 return session;
7 end
8
9 return {
10 new = new_session;
11 }