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 session in php why it is use?
Tell us how to set cookies in php?
What is the function mysql_pconnect() useful for?
What is the special meaning of __sleep and __wakeup?
Which function would you use to replace a record in a database in php?
Is php a strongly typed language?
What is the use of Php variables?
What is the use of session and cookies in php?
What was the old name of php?
Why php is sometimes called as embedded scripting language?
Can we use session in mvc?
How many open modes available when a file open in PHP?
Which function would you use to read a line of data from a file in php?
What are the different ways to login to a remote server?
How to display your correct URL of the current web page?