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()

User Braxo
by
5.7k 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.

User Radhoo
by
6.1k points