* Core :
- HTTP redirection safe wrt Session (should solve login problems). -MC
+ - Free $_SESSION before the page rendering, to release locks. -MC
* Documentation :
- Documentation now use Wiki -Car
require_once('xorg.inc.php');
new_skinned_page('login.tpl', AUTH_COOKIE);
-
$res = $globals->xdb->query('SELECT date, naissance FROM auth_user_md5 WHERE user_id={?}', Session::getInt('uid'));
list($date, $naissance) = $res->fetchOneRow();
function _run($skin)
{
global $globals, $TIME_BEGIN;
+
+ session_write_close();
+
$this->assign("xorg_errors", $this->_errors);
$this->assign("xorg_failure", $this->_failure);
$this->assign('validate', urlencode($globals->baseurl.'/valid.html'));
$result = $this->fetch($skin);
- $ttime = sprintf('Temps total: %.02fs<br />', microtime_float() - $TIME_BEGIN);
+ $ttime .= sprintf('Temps total: %.02fs<br />', microtime_float() - $TIME_BEGIN);
$replc = "<span class='erreur'>VALIDATION HTML INACTIVE</span><br />";
if ($globals->debug & 2) {