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 / yagnesh
when user logged in it will create one txt file on the
server with the ip address of the client machine if and
checks every time when page reload is file exist on the
server or not if not then it will display login page.
simulteneously system will check with the database of last
activity of the perticular ip if that ip has not any
activity withing given time then system will delete that
file....... we can set cron for deleting of the file
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Does php use html?
What is difference between Method overriding and overloading in PHP?
What is an associative array?
What is php mean?
What are the different opening and closing tags available in PHP?
What are the differences between require and include?
Explain what is the static variable in function useful for?
How do you destroy a particular or all Sessions?
What the limitation of header() function in php?
Explain what does $_server means?
How many escape sequences are recognized in double-quoted strings in php?
Does php need a closing tag?
How can we pass the variable through the navigation between the pages?
How can you encrypt password using php?
What is whitespace in html?