orange08 Posted May 20, 2009 Share Posted May 20, 2009 i would like to use session_destroy() in my code, so i don't need to unset each session variable one by one... but, i'm not too sure whether it's advisable to use this session_destroy()? can you all php experts here to give some opinion? thanks! Link to comment https://forums.phpfreaks.com/topic/158896-session_destroy/ Share on other sites More sharing options...
jamesxg1 Posted May 20, 2009 Share Posted May 20, 2009 I Just Use session_unset(); session_destroy(); In my logout page. Link to comment https://forums.phpfreaks.com/topic/158896-session_destroy/#findComment-838025 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.