The following lines do not work. The bool is always false. I have been having trouble getting danni's site to work so if the reply is too short it's 'cuz I typed in the longer version three times and got errrors.
FormsAuthentication.SetAuthCookie(login.EmailAddress, login.RememberMe);
bool isauth = User.Identity.IsAuthenticated;