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 / deepinder

Cookies
- stored on CLIENT machine
- amount of data to be stored is LIMITED
- it can only store STRINGS
- quite FASTER than a session

Session
- stored on SERVER machine
- amount of data to be stored is NOT LIMITED
- it can store OBJECTS
- quite SLOWER as compared to cookies

Is This Answer Correct ?    38 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is needed to be able to use image function?

1024


how to track user logged out or not? when a user is idle?

956


Tell me how to retrieve a cookie value?

1071


How do you define a constant?

1010


Tell us what does $_cookie means?

1057


Explain the difference between unlink() and unset()?

995


What is __ invoke in php?

1065


Where is my php ini file?

1126


What are the different ways to login to a remote server?

1064


Can we set session value in javascript?

1107


What are the 3 scope levels available in php and how would you define them?

1007


What is the sign to start variables in PHP?

1160


Which is incorrect with respect to separating php code and html?

1104


How can we destroy the cookie in php?

1042


What is cakephp framework?

1116