Thx at first.
I have put these Controls on my template.ascx, with a cross page postback i refer to the signin.aspx Now i have following problem, when authenticate the first time, i get logged in. After that a have logged out and repeated this procedure, then comes the postback but i´m not logged in.
This function only every second time, where is the problem?
In the signin.aspx i have put these code to request the user data of the previous page:
Code:
if (PreviousPage != null)
{
EMail.Text = ((TextBox) PreviousPage.FindControl("tbEmail")).Text;
txtPassword.Text = ((TextBox) PreviousPage.FindControl("tbPassword")).Text;
LoginButton_Click(null, null);
}
In the debugger i can see that the user is logged in, but in the shop nothing happens. Is there something with cookies or the cross page postback ?