Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - CAPTCHA keeps stating it was not entered correctly
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedCAPTCHA keeps stating it was not entered correctly

 Post Reply Post Reply
Author
dcaya View Drop Down
Newbie
Newbie


Joined: 10 January 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote dcaya Quote  Post ReplyReply Direct Link To This Post Topic: CAPTCHA keeps stating it was not entered correctly
    Posted: 10 January 2008 at 4:14pm

I'm testing CAPTCHA before buying the license. I entered the code as instructed to the form & processor page.

The only difference I see is on my processor form but I'm not sure if this has any impact:
 
<%@ Language="VBScript"%>
<!--#include file="stdincl.vbs"-->
<!-- Include file for CAPTCHA form processing -->
<!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->
 <%
'If CAPTCHA is entered correctly run the following code
If blnCAPTCHAcodeCorrect = True Then
       'Place code here that is to run if CAPTCHA is entered correctly
       Response.Write("CAPTCHA code is correct")

'If CAPTCHA is NOT entered correctly run the following code
ElseIf blnCAPTCHAcodeCorrect = False Then
       'Place code here that is to run if CAPTCHA is NOT entered correctly
       Response.Write("CAPTCHA code is NOT correct")
End If
%>
 
 
Each time, the processor page tells me that the code was not entered properly even though I've entered the correct one. What am I doing wrong here?
 
I didn't tell it to redirect yet because I want to make sure it's working first. I can't figure out why it keeps stating that the code wasn't entered correctly when I did enter it several times. The example files run fine.
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2008 at 5:07pm
Make sure that session variables are working correctly on your site.
Back to Top
dcaya View Drop Down
Newbie
Newbie


Joined: 10 January 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote dcaya Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2008 at 5:12pm
Sorry - sort of new to this. Where would I check this?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2008 at 5:39pm
Probably the simplest way is to place at the top just before the CAPTCHA_process include the following:-

<% =  Session("strSecurityCode") %>

This will display if there is anything in the session variable which is passed across from the previous page displaying the CAPTCHA code.
Back to Top
NWilson View Drop Down
Newbie
Newbie


Joined: 16 August 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote NWilson Quote  Post ReplyReply Direct Link To This Post Posted: 16 August 2008 at 10:17pm
I have this exact problem too. Keeps stating the captcha code was entered wrongly. I followed the advise above and I can see that a different code is being passed through (I guess it is rembering an old code). I don't know anything about session variables. How do I solve this?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2008 at 6:27am
Sounds like you could be using load balanced web servers or multi worker process for the website. Some things that can stop ASP Sessions from working are:-
  • Fault on the server or dodgy site coursing the application pool to recycle
  • Load Balanced web servers
  • Multiple worker processes in the application pool
  • Application pool recycling to often due to incorrect settings
  • ASP application on the website uses 'Session.Abandon'
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.