How can we do user authentication without using
session/cookies ? For ex:- From page1 accepts user name and
password and need to check in all other pages whether the
user has logged in or not
Answer Posted / sachin
Pass the login credentials to the forms using hidden fields
as well as encrypted using one way hash like md5 with a
server known salt value. Every time the request comes to the
server, it will validate credentials.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is csrf token and how will you add csrf token in ajax?
What is helper library?
How to set cookies?
How do I stop a php script?
How to check a key exist in an array?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?
Is php good for career?
Why session timeout is important?
Tell me how is the ternary conditional operator used in php?
What is $_ env in php?
How to write php function in html onclick?
What types of loops exist in php?
What are the uses of explode() and implode() functions?
how to open & closing opening period in fico
Tell me how can you pass a variable by reference?