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
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
Is jquery better than javascript?
How is traits used in php?
What is php session id?
What is call by reference in php?
How to find the length of a string?
What is the best way to change the key without changing the value of a php array element?
Is salary a ratio or interval?
Explain scalar type declarations in php7?
What is self in php?
Which will check if a function exists?
What is a query in a database?
What are the differences between GET and POST methods?
What is php session and how it works?
How to call php function in jquery?