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...

1.Where are the cookies storing ?
2.What is the drawback of using cookies ?
3. If two site is having same cookie name and different
values what will be the output if we echo the cookie name
from those sites ? How can we solve this issue (How can we
specify the domain name)?

Answer Posted / meenakshisundaram

1.Cookies are stored in Client side.
2.i.If more than 20 cookie variables stored in client side then error may occur "size of cookie exceed the limit" like that...
ii.To overcome this, we can store these cookies in single array. but anyway if the size of the cookie exceed the limit then again same error will occur. Only we can solve the count of cookie variable limit by using array.
3.Yes we can pass the domain details as a parameter while creating cookie itself

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 xss and csrf?

922


How to replace a substring in a given string?

1096


What is implode() in php?

1063


Is server side a session?

924


How to connect to a url in php?

982


What is php artisan tinker?

967


What is use of in_array() function in php?

1077


Distinguish between urlencode and urldecode?

971


what is constructor

1601


How does the identity operator === compare two values?

1121


How to create a session? How to set a value in session? How to remove data from a session?

963


Define about declare construct?

1032


If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

948


So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

1030


How can I display text with a php script?

1020