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 button in html?
Does php have a future?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
How to replace a text in a string with another text in php?
How do I escape data before storing it into the database?
What is difference between session and cookies in php?
How can we pass the variable through the navigation between the pages?
Are there regular expressions in php?
How do you explain independent and dependent variables?
Which function would you use to insert a record into a database in php?
How can I find my php version?
Tell me what is the difference between get and post?
List the different types of print functions available in php?
What are the difference between abstract class and interface in oops?
How can I use single quotes in single quotes in php?