Ok, this is a wierd one. I setup ThePhile Solution and DB without any problems. But the "Login" button on my Login.aspx page does nothing when clicked in IE 6.0, but logs in using Netscape 7.1.
My code is straight from ThePhile zip download:
Login.aspx.cs
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
base.OnInit(e);
InitializeComponent();
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{ this.Submit.Click += new System.EventHandler(this.Submit_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void Submit_Click(object sender, System.EventArgs e)
{
PhilePrincipal newUser = PhilePrincipal.ValidateLogin( EmailAddress.Text, Password.Text );
if (newUser == null)
{
LoginResult.Text = "Login failed for " + EmailAddress.Text;
LoginResult.Visible = true;
}
else
{
Context.User = newUser;
FormsAuthentication.SetAuthCookie( EmailAddress.Text, true );
Response.Redirect("/ThePhile/default.aspx");
}
}
I have set my IE security settings LOW and don't have any problems with Redirects in other sites. Any ideas?
Thank you,
Shawn
Shawn Cohan
[email protected]