asked 73.4k views
4 votes
His function is used to close the current session.

Select one:

a. session_close()

b. close_session()

c. destroy_session()

d. session_destroy()

asked
User Braxo
by
8.1k points

1 Answer

5 votes

Answer:

(d) session_destroy()

Step-by-step explanation:

session_destroy():-This function destroys all the data which belongs to the current session. It didn't unset any global variables that belongs to the session, or unset session cookie.

You can only use session variable if there is a session is in process otherwise you have to start a session.

answered
User Radhoo
by
8.2k points