[freeside-commits] freeside/httemplate/graph/elements report.html, 1.5, 1.6
Mark Wells
mark at wavetail.420.am
Thu Jan 26 12:27:09 PST 2012
Update of /home/cvs/cvsroot/freeside/httemplate/graph/elements
In directory wavetail.420.am:/tmp/cvs-serv26503/httemplate/graph/elements
Modified Files:
report.html
Log Message:
fix bizarre session id bug, from #15393
Index: report.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/graph/elements/report.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- report.html 7 Jan 2012 23:04:03 -0000 1.5
+++ report.html 26 Jan 2012 20:27:06 -0000 1.6
@@ -278,7 +278,8 @@
%opt = %{ $m->cache->get($session) };
}
else {
- $session = sprintf("%10d%6d", time, int(rand(1000000)));
+ $session = sprintf("%010d%06d", time, int(rand(1000000)));
+ sleep(2);
$m->cache->set($session, \%opt, '1h');
}
More information about the freeside-commits
mailing list