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 built on?

942


How to turn on the session support?

1065


What is $_ files in php?

1058


How do you destroy a session?

876


Tell me how is it possible to propagate a session id?

1000


How to convert a string to uppercase in php?

996


Write a program to display a table of any given number?

893


Is server side a session?

902


How long do php sessions last?

1015


Write a query to find the 2nd highest salary of an employee from the employee table?

1000


What is str_replace()?

978


What is the correct syntax of mail() function in php?

986


What is mysql_fetch_array?

994


What beforeFilter() is used?

1071


How to do single and multi line comment in php?

970