How to check whether cookies are disbled or not in the
browser ? If that is the case how do you handle the
sessions ?
Answer / 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 |
What are the different filter functions used to filter a variable?
What are the popular content management systems (cms) in php?
Is php an array?
What is php routing?
Explain the difference between mysql_connect and mysql_pconnect?
Php says that an array is an ordered map. But how the values are ordered in an array?
How to track user logged out or not? When user is idle?
Explain mixed and callback functions?
What are the special characters you need to escape in double-quoted stings?
What are string functions?
Whats the difference between include() and require()?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?