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
What are the rules to declare a php variables?
How the result set of mysql be handled in php?
What is the difference between null and empty?
Explain what is the difference between $var and $$var?
Php says that an array is an ordered map. But how the values are ordered in an array?
What are escaping characters? Explain with an example?
What is the difference between apache vs niginx?
How does the identity operator === compare two values?
How variables are passed through arguments?
Explain me is it possible to destroy a cookie?
What is the output of the ucwords function in this example?
What is difference between array_merge and array_combine?
Tell me what does pear stands for?
What is difference between web service and api?
What are major variables in research?