Hi, I have created a self signed certificate and my website works ok with SSL when running it from my computer from the IIS manager but when I run it from MS Visual Stuudio the pages do not load, I get the warning that i'm about to view a secure page but then it does not connect, says the page cannot be displayed. This is the code I have used, is there something wrong with it?
On the pages I want to be redirected to https I have this code
protected override void OnInit(EventArgs e)
{
(Master as Bookshop).EnforceSSL = true;
base.OnInit(e);
}
On the master page it inherits I have this code
public bool EnforceSSL
{
get
{
&n ...
Go to the complete details ...