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...

What is the different between cookies and session in php?

Answer Posted / ekta aptel

1.Cookies are stored in client side.
Session are stored in server side.
2.Cookies stored limited amount of data.
Session stored unlimited amount of data.
3.Cookies can only store string. Session can store object.
4.We could be save cookie for future reference but session
couldn't. When user close their browser, they also lost the
session.
5. Cookies quite faster than a session.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the identity operator === compare two values?

1170


Do you know what are traits?

1012


What is php stack?

964


Differences between get and post methods?

1045


What is the mysql injection?

998


Are parent constructors called implicitly inside a class constructor?

956


How to call a php function from another php file?

983


Where are the persistent cookies stored on your computer?

994


What is the interface in php?

1034


Does wordpress still use php?

1009


Does csrf token change?

924


Explain php split() function.

993


How to make a class in php?

986


What is mysqli_query?

967


Which is better python or php?

1010