@Html.ActionLink("關於", "About", "Home", "https", "", "", new { id = "1" ,test="000"}, new { @class="abc"}) @Url.Action("About","Home",null,"https","")
2014年5月28日 星期三
Asp.net MVC Html.ActionLink & Url.Action https(SSL)(18)
記錄一下摟
jQuery 將網頁導到https(SSL)
最近都在架構的網站都會走SSL
所以記來以後來會用到
Detect HTTP or HTTPS then force HTTPS in JavaScript
所以記來以後來會用到
$(function () { if (window.location.protocol != "https:") { var sslUrl = location.href.replace(/^http/i, "https"); window.location.href = sslUrl; return; } });參考網站
Detect HTTP or HTTPS then force HTTPS in JavaScript
IIS 免費SSL(StartSSL)
以下兩篇保哥的文章已經算超詳細了
我也是看這兩篇就攪定摟感謝保哥
免費申請 StartSSL™ 個人數位簽章與網站 SSL 憑證完全攻略
如何在 IIS7 / IIS7.5 安裝 SSL 憑證(含 IIS7 匯入憑證的 Bug)
我也是看這兩篇就攪定摟感謝保哥
免費申請 StartSSL™ 個人數位簽章與網站 SSL 憑證完全攻略
如何在 IIS7 / IIS7.5 安裝 SSL 憑證(含 IIS7 匯入憑證的 Bug)
訂閱:
意見 (Atom)