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
What is the use of trim function in php?
How to create a mysql connection in php?
What is the output of the ucwords function in this example?
What is alias in php?
What is a query in php?
What is php string function?
What does sign mean php?
Tell me what is the main difference between require() and require_once()?
Write a program to find no of days between two dates in php?
What are the differences between session and cookie?
What is the difference between php and core php?
What is php explain how php works?
What are php string functions?
What version of php do I have windows?
How can we enable error reporting in php?