Worklight 6.1 :How to clear session on worklight server at adapter level -
Worklight 6.1 :How to clear session on worklight server at adapter level -
i handling session on server side , able manage using adapter side code
var cookie = wl.server.getclientrequest().getheader('cookie'); var request = wl.server.getclientrequest(); var session = request.getsession(); var sessionid = session.getid();
but problem every time hitting adapter getting same session on server side. how kill session on adapter side can create new session every time nail adapter.
i tried session.invalidate() no utilize me. after doing getting same session on server side.
please suggest need done on server side or adapter side.
what you're describing default wl server behaviour. you'll new session created first time nail server , session reused till times out.
worklight worklight-adapters
Comments
Post a Comment