From e147e44088e8bc76fac2a3b92b32b76f9867280d Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 9 Feb 2013 14:22:49 -0800 Subject: Sending emails in GO, - also closing the session. --- do.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'do.php') diff --git a/do.php b/do.php index d38e039..d822541 100644 --- a/do.php +++ b/do.php @@ -304,6 +304,13 @@ if ($_GET['r'] == 'getpath') { } return; } + + // ---------- CLOSING THE SESSION $_SESSION WILL NO LONGER WORK FOR WRITING + session_write_close(); + //Now that is done, we can easily do whatever we want - Like, send any emails that there might be. + include_once('./includes/emails.php'); + SendQueuedEmail(); + $json['error'][] = 'user is logged in'; // --------- USER LOGGED IN -- cgit v1.2.3