Skip to content

About

Creating custom Web Session, based on weblit and Luvit.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

WebSessionLua

Creating custom Web Session, based on weblit and Luvit.

If you are not familar with Luvit Objects, please check Objects

local WebObject = require("WebSession")
--[[
Make a cookie, name it ID or anything ( I am using name ID )
and use that ID for TempVariable
]]
Local TempVariable[req.cookies.ID] = WebObject:new(req, res, {name = name, hash = "MD5", lenth = 5}) -- options: Name = username, hash = Hash method, Lenth for string

#Methods :destroy() to destroy the whole session :isAuth(req) to check the auth permissions :getID() to get the session ID

#I will keep update the module soon!

About

Creating custom Web Session, based on weblit and Luvit.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages