Destroying a session Sessions are destroyed through the use of the session_destroy() function.
{"Image DocumentName": "Destroying a sessionSessions are destroyed through the use of the session_destroy() function.", "Image ImageDescription": "Using session_destroy() will result in the loss of all data stored in the session. Alternatively, you can use the unset() function which will destroy only some of the data in the session, as opposed to the entire session. Examples. <?php unset( _SESSION[ views ]);?> <?php session_destroy();?>", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}