liamloveslearning Posted May 17, 2010 Share Posted May 17, 2010 Hi everyone, Is it possible to create a button which will destroy a session? I've seen a few ajax examples via google but there more geared towards resetting a form Link to comment https://forums.phpfreaks.com/topic/202096-kill-session/ Share on other sites More sharing options...
teamatomic Posted May 17, 2010 Share Posted May 17, 2010 you can unset session vars or if you really want to kill the session you can use session_destroy. But you do Know that there is a specific form button type=reset, dont you, maybe it will do what you wish. HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/202096-kill-session/#findComment-1059799 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.