login function my view(request): username = request auth import authenticate password = request POST['username'] POST['password'] If user is not authenticated, use authenticate(username=username, password=password). Login(request, user) # Redirect to a success page if the user is active.
Using both is the best solution. The gateway into the rest of the system, server-side validation, treats all incoming input as untrusted. Client-side validation aims to make the user's experience as smooth as possible while also reducing server burden.
In Server Side Validation, the user's input is transferred to the server and validated using one of the server side programming languages such as ASP.Net, PHP, and others. Following the server-side validation, the feedback is given to the client via a new dynamically produced web page.
Learner's Ratings
4.4
Overall Rating
60%
20%
20%
0%
0%
Reviews
V
vinoth kumar
4
Super what is the next tamil programming course and when ?
Share a personalized message with your friends.