and if how do I set it up.
Developer forum
E-mail notifications
Page in https
Replies
Posted on 28/05/2008 09:18:47
Are you looking for something like this: http://support.microsoft.com/kb/324069
Posted on 28/05/2008 12:36:59
in your default.aspx.cs under public void RunOnEveryPage_Load
you can add the follow code to change http to https on specific pages outside aswell as inside of DW
if (Request.IsSecureConnection == false && Request.QueryString["ID"] == "55")
{
Response.Redirect("https://" + this.Request.Url.Host + Request.RawUrl);
}
And as Lars linked you need to get an SSL certificate aswell.
Nicolai Høeg Pedersen
Posted on 28/05/2008 14:18:18
Or by using javascript:
if (location.protocol != 'https:') {
window.location = 'https://'+ location.host + location.pathname + location.search;
}
Modify to have work on only one particular page.
Posted on 29/05/2008 08:49:34
Thanks all.
I'll look in to it.
You must be logged in to post in the forum