Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-09-2010, 01:10 PM   PM User | #1
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
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 ?
__________________
Found a flower or bug and don't know what it is ?
agrozoo.net galery
if you don't spot search button at once, there is search form:
agrozoo.net galery search

Last edited by BubikolRamios; 11-10-2010 at 12:01 AM..
BubikolRamios is offline   Reply With Quote
Old 11-10-2010, 12:05 AM   PM User | #2
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
ok found one nasty solution. If anyone knows if it si possible to put image on page via
dispatcher.include, do tell.
__________________
Found a flower or bug and don't know what it is ?
agrozoo.net galery
if you don't spot search button at once, there is search form:
agrozoo.net galery search
BubikolRamios is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:13 AM.


Advertisement
Log in to turn off these ads.