Question: Write a PHP function to end a session. Your function must have perform the following: initiate the session. set session array to an empty array.
Write a PHP function to end a session. Your function must have perform the following:
initiate the session.
set session array to an empty array.
expire cookie.
destroy the session.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
