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

How to check whether cookies are disbled or not in the
browser ? If that is the case how do you handle the
sessions ?

Answer Posted / srikanth

If output exists prior to calling this function, setcookie()
will fail and return FALSE. If setcookie() successfully
runs, it will return TRUE. This does not indicate whether
the user accepted the cookie.

http://in2.php.net/manual/en/function.setcookie.php

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules to declare a php variables?

1118


How the result set of mysql be handled in php?

1093


What is the difference between null and empty?

998


Explain what is the difference between $var and $$var?

977


Php says that an array is an ordered map. But how the values are ordered in an array?

1037


What are escaping characters? Explain with an example?

931


What is the difference between apache vs niginx?

1050


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

1119


How variables are passed through arguments?

929


Explain me is it possible to destroy a cookie?

937


What is the output of the ucwords function in this example?

1006


What is difference between array_merge and array_combine?

1051


Tell me what does pear stands for?

1065


What is difference between web service and api?

1016


What are major variables in research?

969