Use microtime()

This commit is contained in:
Sean Harvey 2008-04-20 05:59:15 +00:00
parent 985abc7557
commit a4a78b82cb

View File

@ -164,7 +164,7 @@ abstract class MultiForm extends Form {
// @TODO fix the fact that you can continually refresh on the first step creating new records
$this->session = new MultiFormSession();
$this->session->write();
if($urlType == 'Hash') $this->session->Hash = sha1($this->session->ID);
if($urlType == 'Hash') $this->session->Hash = sha1($this->session->ID . '-' . microtime());
$this->session->write(); // I guess we could hash something else than the ID, this is a bit ugly...
}
}