CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Java and JSP (http://www.codingforums.com/forumdisplay.php?f=54)
-   -   captcha dead end (http://www.codingforums.com/showthread.php?t=208887)

BubikolRamios 11-09-2010 01:10 PM

captcha dead end
 
this gets me image from server, and at the same time fills some variables into session object (i.e. what should user calculation result into)
Code:

<img src='../mcCaptcha' alt = 'capt....
captcha looks like this:
Code:

3*e=15
2*6=a
... etc

so next html element, for user input, after image, must pull something from session variable, to output like:
Code:

e=<input type = .../>
a=<input type = .../>

The prob is that HTML, draws out, faster than session captcha variables are changed, so I get one captcha before variables in HTML.

How to handle that ?

BubikolRamios 11-10-2010 12:05 AM

ok found one nasty solution. If anyone knows if it si possible to put image on page via
dispatcher.include, do tell.


All times are GMT +1. The time now is 01:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.