This below show us if we need to login or not Register | LogIn

Login/Logout


Here I demonstrate use of Forms Authentication! 
    
Try registering yourself to my site. (See links above in this page)
    
Notice at first you can't see our top header and after you register and login you can! 


                SOME NOTES!
                    
                In your IIS:
                    Allow Anonymous Authentication
                
                Look at the 5 tutorials:
                    https://www.youtube.com/watch?v=7RoJIgRcuOc
                    
                    
                    IN OUR WEB CONDIG
                   
                   authentication mode="Forms"
                      
                      forms loginUrl="~/Login/Index" timeout="2880" 
                      
                    authentication
                    
                    We decorated the home controller with [Authorize]
                    And allow anonymous for Index!
                    Any link that will be clicked in the home controller will redirect us to the Login page
                    with a return URL
                
                

Copyright © 2026. Itai Roded thanks for looking. Itai.Roded@gmail.com.