"Jens Jensen" <jj@jensen.dkwrote in message
news:uH******************@TK2MSFTNGP04.phx.gbl...
Is this possible?
Yes.
How?
Several ways:
1) AFAIK, you can set it in IIS
2)
protected void Application_BeginRequest(Object sender, EventArgs e)
{
if (HttpContext.Current.Request.IsSecureConnection.Eq uals(false))
{
Response.Redirect("https://" + Request.ServerVariables["HTTP_HOST"]
+ HttpContext.Current.Request.RawUrl);
}
}
3)
http://www.codeproject.com/aspnet/We...id=53615&exp=0