Closed GoogleCodeExporter closed 8 years ago
Forgot to mention, the requests are handled in two different threads. That's
why sometimes the first one is cut off and sometimes the second one.
Original comment by supersm...@gmail.com
on 6 Jun 2012 at 2:09
I am having the same problema. I mean, the captcha is also requested twice in
FireFox 14.0.1. In my case, in IE9 and Chrome 21.0 works fine.
Original comment by diegoluc...@gmail.com
on 13 Aug 2012 at 5:56
any plan to fix this issue?
Original comment by Fengying...@gmail.com
on 7 Dec 2012 at 10:09
As soon as there is a valid suggestion on how to fix it, I'll apply it.
Original comment by latch...@gmail.com
on 7 Dec 2012 at 10:13
Well, I said: "You should set the session attribute after the image has been
written". I think the code should go like this:
ImageIO.write(bi, "jpg", out);
req.getSession().setAttribute(this.sessionKeyValue, capText);
req.getSession().setAttribute(this.sessionKeyDateValue, new Date());
It's simple. :)
Original comment by supersm...@gmail.com
on 22 Dec 2012 at 10:04
Right, but that doesn't explain why IE is requesting the image 2x. That is the
core of the issue and that is the part that needs to be resolved.
Original comment by latch...@gmail.com
on 22 Dec 2012 at 5:46
Well, I think the core issue is that your code does not handle potential
exceptions and leaves session attributes set incorrectly. :(
Original comment by supersm...@gmail.com
on 25 Dec 2012 at 7:02
now i see your point, but i'd like to get an understanding of why ie is causing
the server to throw that exception.
Original comment by latch...@gmail.com
on 26 Dec 2012 at 11:50
This issue was closed by revision r138.
Original comment by whiche...@gmail.com
on 26 Dec 2012 at 11:58
Original issue reported on code.google.com by
supersm...@gmail.com
on 6 Jun 2012 at 2:07