projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa5c4f
)
fix bizarre session id bug, from #15393
author
mark
<mark>
Thu, 26 Jan 2012 20:27:06 +0000
(20:27 +0000)
committer
mark
<mark>
Thu, 26 Jan 2012 20:27:06 +0000
(20:27 +0000)
httemplate/graph/elements/report.html
patch
|
blob
|
history
diff --git
a/httemplate/graph/elements/report.html
b/httemplate/graph/elements/report.html
index
3773fbf
..
6d2a90c
100644
(file)
--- a/
httemplate/graph/elements/report.html
+++ b/
httemplate/graph/elements/report.html
@@
-278,7
+278,8
@@
if ( $cgi->param('session') =~ /^(\d+)$/ ) {
%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');
}