I have a custom login page and placed a onauthenticate on the login control<asp:Login ID="Login1" runat="server" OnAuthenticate="Login1_Authenticate" ...