I've never done such thing like the one you are trying to do.
I have always set "login.destinationpageurl" to a second page which (onload) check for user.IsAuthenticated and take the proper action.
I don't know why My.User.IsAuthenticated is false in loggedin event, maybe asp.net create the autentication cookies only after a redirect to the next page...
Try to divide into 2 pages what you need: the first with the login control, the second one which test My.User.IsAuthenticated
Franco
>Thank you for your reply. That what I thought initially but when I put the folowing code it returns False all the time. What am I missing ?
>
>
>If My.User.IsAuthenticated Then
> Response.Write(Profile.cName.ToString)
>End If
>
>
>Daniel