0
我覺得我失去了一些東西在HTTPS ...我應該在web.config中聲明https嗎?
目前我使用此爲所需的頁面從HTTP重定向到HTTPS
If Not Request.IsSecureConnection Then
Dim serverName As String = HttpUtility.UrlEncode(Request.ServerVariables("SERVER_NAME"))
Dim filePath As String = Request.FilePath
Response.Redirect(("https://" & serverName) + filePath)
End If
我應該申報的地方在web.config中的絕對鏈接爲https?
p.s.我的鏈接是相對的