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

What are the different filter functions used to filter a variable?

982


What is composer phar?

1001


What is apache and php?

927


What are interfaces in php?

970


How can you send http header to the client in php?

1018


What is scope of variable in php?

1055


Can we run php on tomcat server?

1053


What is the scope of a variable defined in a function?

1073


Explain what is the difference between session and cookie?

1050


Explain the casts allowed in PHP?

1039


write a note on Testing the web site

1864


Which function is used to read a file removing the html and php tags in it upwork?

927


How to check an element is exists in array or not in php?

1076


Is php a case sensitive language?

1158


What is printf in php?

986