41.
Which function is used to erase all session variables stored in the current session?

42.
What will the function session_id() return is no parameter is passed?

43.
Which one of the following statements should you use to set the session username to Nachi?

44.
What will be the output of the following PHP code? Say your previous session username was nachi.
<?php
unset($_SESSION['username']);
printf("Username now set to: %s", $_SESSION['username']);
?>

45.
An attacker somehow obtains an unsuspecting user’s SID and then using it to impersonate the user inorder to gain potentially sensitive information. This attack is known as.

46.
Which parameter determines whether the old session file will also be deleted when the session ID is regenerated?

48.
Which function is used to transform PHP’s session-handler behavior into that defined by your custom handler?

49.
The session_start() function must appear.

50.
What is the return type of session_set_save_handler() function?