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 / abhishek asati

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 ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to close a session properly?

917


What does addslashes do in php?

975


What's the difference between using mysql_ functions and pdo?

1057


What is __ construct in php?

958


What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?

1004


What are the difference between overloading and overriding in oops?

960


Which is better mysql or sql?

940


How to return a value back to the function caller?

959


How should a model be structured in mvc?

869


What is data structure in php?

954


What is a persistent cookie in php?

922


Do I need apache for php?

1018


How to calculate the difference between two dates using php?

987


What is session expiry?

897


How to concatenate two strings together in php?

1000