Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 long does a session last in php?

1029


Explain what are the two main string operators?

1003


Whether it is possible to share a single instance of a memcache between multiple php projects?

1063


What is php and how do you use it?

1041


What is overloading and overriding in oop?

1076


Explain a resource?

1073


What is $this in php?

1026


Explain why would we use === instead of ==?

990


How can we calculate the similarity between two strings?

1050


What are the ways to define a constant in php?

1062


What is final class and final method in php?

1109


Tell me in php, objects are they passed by value or by reference?

1015


Write a program in php to find the occurrence of a word in a string?

1129


What are the Advantages and Application Areas of PHP?

979


Is php easier than javascript?

1032