gazfocus Posted May 5, 2008 Share Posted May 5, 2008 Hi, I made a website for my church with a member login, which has worked fine for the past few months, but for some reason, now when trying to log out, I get: Fatal error: Call to undefined function: session_stop() in ...\logout.php on line 16 has anyone got any ideas on what could be causing this? Thanks Link to comment https://forums.phpfreaks.com/topic/104201-solved-logout-script-in-php/ Share on other sites More sharing options...
rhodesa Posted May 5, 2008 Share Posted May 5, 2008 The correct function is session_destroy() http://us3.php.net/manual/en/function.session-destroy.php Link to comment https://forums.phpfreaks.com/topic/104201-solved-logout-script-in-php/#findComment-533438 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.