Commit r2398: https://sourceforge.net/p/mrbs/code/2398/

------------------------------------------------------------------------
r2398 | cimorrison | 2012-09-07 16:59:57 +0100 (Fri, 07 Sep 2012) | 1 line
Changed paths:
   M /mrbs/trunk/web/session/session_php.inc

Fixed problem with users being unable to login when MRBS is running on IIS
------------------------------------------------------------------------

Index: mrbs/trunk/web/session/session_php.inc
===================================================================
--- mrbs/trunk/web/session/session_php.inc      (revision 2397)
+++ mrbs/trunk/web/session/session_php.inc      (revision 2398)
@@ -106,6 +106,9 @@
       $TargetURL .= "&returl=" . urlencode($returl);
     }
   }
+  // Problems have been reported on Windows IIS with session data not being
+  // written out without a call to session_write_close()
+  session_write_close();
   header ("Location: $TargetURL"); /* Redirect browser to initial page */
   /* Note HTTP 1.1 mandates an absolute URL. Most modern browsers support 
relative URLs,
     which allows to work around problems with DNS inconsistencies in the 
server name.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to