QEWD Session timeout event

19 views
Skip to first unread message

Faisal

unread,
Jan 22, 2025, 7:54:54 AMJan 22
to Enterprise Web Developer Community
Hello, I have a qewd application running with qewd-up. is there any event for session timeout? in qewd-up i am using the following code upon login event to create session which timeout after an hour. So if there is no subsequent api call for one hour the token is expired. I want to executes some code upon the session timeout. is there any way to do that? Thanks.
var session = this.sessions.create('myApp',3600);
session.authenticated = true;
return finished({
ok: true,
token: session.token
});
Reply all
Reply to author
Forward
0 new messages