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 serialization / object serialization ?

Answer Posted / ranjan

Say we have some information in the form of object or array
and we want to store that into database then we should
serialize that and then we can store the returned string in
the database. While accessing we will have to unserialize that.

Also if we want to play with the string before we store the
above string into the database then we need to use it
everytime by unserializing it.

We can avoid this if we register this iobject with the
session and then nsession will automatically unserialize it
and we need not to unserialize it before playing or while
storing

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a model in php?

1058


What is the function of string in c?

1012


What does the scope of variables means?

1017


Inside a php function, what param needs to be set in order to access a global variable?

974


What is strstr php?

981


How do I debug php?

949


How can you tell if a number is even or odd without using any condition or loop?

1003


What is the difference between public, protected and private?

958


Which PHP function would you use to send an email?

1034


What is the default session time in php?

1016


Is runtime polymorphism overriding?

1001


Who is the father or inventor of php?

1077


What are sql injections, how do you prevent them and what are the best practices?

1062


How to open a file in php?

1077


What is $_ request in php?

894