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 / binoyav

Passing parameters from one page to another page is not a
feasible solution. I think the user authentication can be
done through database. Once the user login to the site, the
application will store the user name and IP address of the
user to one database table. From other pages (by putting ne
common file ) will check whether that IP address exists in
that table.
Is it correct ? Any drawback for this ? Or any other solution ?

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the data types in PHP?

963


Tell me how to initiate a session in php?

1144


Tools used for drawing er diagrams?

996


What is mean tnq

1531


What is the best way to change the key without changing the value of a php array element?

961


Where are cookies stored php?

912


How to use http headers inside php?

1050


How to terminate the execution of a script in PHP?

1038


Who is known as the father of php?

1133


What is an associative array?

1044


What is compact function php?

1050


How to update memcached when you make changes to php?

967


Explain Type hinting in PHP?

1017


How to split a string into array using php?

1162


Which is not a file-related function in php?

1039