close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Captcha diffrent pages

Thread began 8/02/2011 4:35 am by Cologne | Last modified 8/02/2011 8:08 am by Cologne | 946 views | 2 replies |

Cologne

Captcha diffrent pages

Hi,

I try to insert 3 captchas.

2 on one page, that works well, cause the new Session is created.
captcha_security_code_1
captcha_security_code_2

Now when I create a new page and insert a new captcha no captcha_security_code_3
shows up.

So, this image is also stored in captcha_security_code_1?

Then the validation wont work right :-(

Or am I wrong?
Denis

Sign in to reply to this post

Jason ByrnesWebAssist

when you add captcha to a page the captcha code will look like this:

php:
<img id="capt1"  src="webassist/captcha/wavt_captchasecurityimages.php?width=200&height=50&field=Security_Code_1&bgcolor=FFFFFF&transparent=0&bgimage=&gridfreq=20&gridcolor=000000&gridorder=behind&noisefreq=20&noisecolor=000000&noiseorder=behind&characters=5&charheight=&font=fonts/MOM_T___.TTF&textcolor=000000" alt="security code" width="200" height="50" /><br />

  <input id="Security_Code_1" name="Security_Code_1" type="text" value="" />




one of the querystring variable for the image source is named "field", this defines the name of the captcha session variable, the naming convention for the capthcha session variable is:
capthcha_<field querystring variable>

in the above code, the field variable:
field=Security_Code_1


is Security_Code_1, so the captcha session to use in the validation is captcha_Security_Code_1

Sign in to reply to this post

Cologne

thanks a lot :-)

In my case I created it three times in the 2nd page :-)
maybe in the wizzard is a field for the session name :-)

cheers
Denis

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...