%@ Page language="c#" AutoEventWireup="false" ValidateRequest="false" Async="true" %> <%@ OutputCache Location="None" %> <%@ Import Namespace="System.ComponentModel" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Drawing" %> <%@ Import Namespace="System.Security.Principal" %> <%@ Import Namespace="System.Web" %> <%@ Import Namespace="System.Web.SessionState" %> <%@ Import Namespace="System.Web.UI" %> <%@ Import Namespace="System.Web.UI.WebControls" %> <%@ Import Namespace="System.Web.UI.HtmlControls" %> <%@ Import Namespace="System.Web.Security.SingleSignOn" %>
<%=Context.Request.Url.GetLeftPart(UriPartial.Path)%> <%=LSAuthenticationObject.Current.FormContext.CurrentAction.ToString()%> <%=wi.Name%> (<%=wi.AuthenticationType%>)<% /* * The following commented out block handles logon synchronously. * We prefer to handle it asynchronously by registering the async * operation in Page_Load as it results in better performance. * LSAuthenticationObject.Current.LogonClient(wi); */ %> <% if(m_errorStatus != null) { %>
There was an error processing your credentials: <%=m_errorStatus%>
<% } %>