Posted on: 8/15/2014 7:28:15 AM | Views : 397

Can anyone help me
I am writing a custom authentication ticket that contains the user name and id. I am having problems adding the "if" "else" to the class function and vb page sub.
Can anyone help me with this.
Many thanks
Martin
(the complete code is attached at the bottom )
1) I want to put an "if" "else" clause into a "LogIn" funtion in the a class file. Can anyone tell me what I am doing wrong and what I should use for the "else" section
I am using the following code I am getting the message "Function "Login" doesnt return a value on all code paths. A null reference exception could result at run time when the result is used
        Dim hashedPassword1 As String = PasswordHasher.Hash(password, email)         Dim hashedPassword2 As String = ...

Go to the complete details ...