Help me. I need my code JS on folder common to access session.get value, but it is error when I try to get it. Any Idea? The error says : ReferenceError: session is not defined
My Code is :
var vLevelAkses = Session.get(“global_levelakses”);
TabularTables.mstUser = new Tabular.Table({
name: “mstUser”,
collection: mstUserDat,
selector: function() {
return { levelakses: { $gte: vLevelAkses } }
},
columns: [
{data: “username”, title: “User Name”},
{data: “userpass”, title: “Password”},
{data: “levelakses”, title: “Level Akses”}
]
});