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


Please Help Members By Posting Answers For Below Questions

How do I run a php program in dreamweaver?

538


What is whitespace in php?

514


How to remove values saved in the current session?

538


What is list in PHP?

648


What is difference between single quotes and double quotes in php?

494






How is it possible to know the number of rows returned in result set?

531


How to check your php installation?

514


What is the correct syntax of mail() function in php?

572


Explain some of the php array functions?

582


Which operator is used to combine string values in php?

508


How is it possible to know the number of rows returned in the result set?

552


Tell me is it possible to protect special characters in a query string?

499


What is a static variable in php?

537


How to access a specific character in a string?

502


Explain about looping in PHP?

607