Mercurial Hosting > luan
diff http/src/luan/modules/http/Http.luan @ 504:dbdf4b8193a8
add Http.per_session()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 May 2015 01:09:35 -0600 |
parents | 92c3d22745b8 |
children | 9218f9cf45d3 |
line wrap: on
line diff
--- a/http/src/luan/modules/http/Http.luan Wed May 20 23:24:46 2015 -0600 +++ b/http/src/luan/modules/http/Http.luan Thu May 21 01:09:35 2015 -0600 @@ -115,4 +115,12 @@ -- request = new_request{} -- filled in by HttpServicer -- response = new_response{} -- filled in by HttpServicer + +M.per_session_pages = {} + +function M.per_session(page) + M.per_session_pages[page] = true +end + + return M