From a4a78b82cbe09f54bae3fb91c35b01ab80fd894e Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Sun, 20 Apr 2008 05:59:15 +0000 Subject: [PATCH] Use microtime() --- code/MultiForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/MultiForm.php b/code/MultiForm.php index d3b91ec..ca973ef 100644 --- a/code/MultiForm.php +++ b/code/MultiForm.php @@ -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... } }