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

What is php mean?

994


How to convert numbers to strings in php?

951


Which function can be used to delete a file?

1132


Explain the importance of the function htmlentities.

942


What is json php?

976


How to get the position of the character in a string in php?

1040


What is the differences between $a != $B and $a !== $B?

995


What are php errors?

907


When to use get and post request?

960


What is difference between isset and empty in php?

953


What is oops php?

914


Describe session in php.

1000


What is the best way to avoid email sent through php getting into the spam folder?

949


What is a persistence cookie?

891


Tell me what does the scope of variables means?

892