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 we can declare variable in php?

1012


Explain Type juggling?

1032


How to execute a php script from the command line?

1157


How to concatenate two strings in php?

1142


Why php is sometimes called as embedded scripting language?

1000


Can we use php variable in javascript?

1064


How to get the directory name out of a file path name?

1003


How to download files from an external server with code in php?

925


Are static variables final?

1051


Which library is used in php to do various types of image work?

1053


How will you calculate days between two dates in PHP?

1118


What is php? Why it is used?

1198


How does php strcmp work?

1118


What function should you use to join array elements with a glue string?

1023


What is $_ get in php?

1059