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
如果沒有,那麼請告訴我該怎麼做。