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

Will a comparison of an integer 12 and a string "13" work in php?

913


Is salary a ratio or interval?

972


Tell us how can we display the output directly to the browser?

998


What is the meaning of ‘escaping to php’?

1055


How can we change the maximum size of the files to be uploaded?

986


Code to open file download dialog in PHP?

1044


What are php filters?

922


Do you know what are traits?

970


How send email in php?

939


What is http php?

920


Why framework is used in php?

951


Is php a programming language?

1002


What is php constructor?

996


How to make a class in php?

935


Does php 5 support exceptions?

1083