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.6
Overall Rating
71%
14%
14%
0%
1%
Reviews
M
MAGIC MUSICS
5
django.db.utils.OperationalError: (2026, 'TLS/SSL error: SSL is required, but the server does not support it') - i have problem with type mysql connection- can you please some one guide me
S
Suresh Kumar
5
please tell how to use shortcuts
V
vinoth kumar
4
Super what is the next tamil programming course and when ?
Share a personalized message with your friends.