session disconnection in jscript