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.我的链接是相对的