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

How do I see how many pages per session in google analytics?

946


why did u want to leave your past organisation?

2005


What is super () python?

971


Is polymorphism inherited?

944


Differentiate echo vs. Print statement.

874


What is the use of namespace in php?

940


What is better .net or php?

955


What types of loops exist in php?

990


What is the best practice for running mysql queries in php? Consider the risk of sql injection.

1002


Difference between $message vs. $$Message in php.

946


What are the benefits of using php and mysql?

931


Explain me what is the meaning of a persistent cookie?

948


Explain what is meant by pear in php?

940


What is the difference between $var and $$var?

1015


What is global array in php?

986