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 is static method php?
What is the difference between characters 34 and x34?
What is the difference between explode and split?
What is session expiry?
What do the initials of php stand for?
Is php the same as html?
How to remove duplicate values from array using php?
How do I clear my browser session?
> symbol is used to redirect the output of a command. State Whether True or False?
What is meant by ‘passing the variable by value and reference' in php?
Is overloading possible in php?
Explain converting an object?
What is difference between require_once(), require(), include()?
Define metaphone()?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?