adplus-dvertising
frame-decoration

Question

Using $_SESSION, $HTTP_SESSION_VARS functions can be dangerous, so that you can use

a.

session_destroy ( )

b.

session_unset ( )

c.

set ( )

d.

None of them

Answer: (b).session_unset ( )

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Using $_SESSION, $HTTP_SESSION_VARS functions can be dangerous, so that you can use

Similar Questions

Discover Related MCQs

Q. In PHP, cookies are set by using the

Q. www-authenticate mechanism works only under the

Q. What kind of session will maintain its identity as long as user stays within a site?

Q. A period of time during which a particular person, views a number of web pages at a particular machine is called as

Q. A function that takes no argument s and return a string, which is unique key corresponding to a particular session

Q. Name, value, expire, patrh, httponly, domain, secure all of these are arguments of

Q. To initiate a session which function is used?

Q. If you want to free all variables in a session, which function you can use

Q. Which PHP function offers to send raw arbitrary HTTP headers?

Q. PHP is not configured to transparently pass session IDs in the

Q. $_SESSION array is one of superglobal variables introduced in

Q. When value of sessionauto_start ( ) function is zero it means that

Q. Session_unset ( ) takes

Q. HTTP protocols by which browsers talk to a web server is

Q. Meaning of superglobal arrays is it can be

Q. Secure ( ) argument in setcookie function returns result

Q. In PHP4.1 and later versions, cookies name/value pair are added to the

Q. Php.ini file can be viewable by calling

Q. Which two predefined variables are used to retrieve information from forms?

Q. The attack which involves the insertion of malicious code into a page frequented by other users is known as..