0
我想知道,当我们呼叫window.close
那么这是否也终止在IIS上的会话?调用window.close()也会从IIS终止会话吗?
我写下面的代码,我试图从IIS终止用户的会话。
Sub OnClickLogout()
dim Answer, msg
Msg = "This will terminate the session and close the browser. Do you want to continue?"
Answer = MsgBox(Msg, vbYesNo + vbCritical, "Error")
if Answer = vbYes then
window.close() ' Does this terminate the sesion of the user also?
else
'Return to the previous page
End if
End Sub
如果没有,那么请告诉我该怎么做。