Print Page | Close Window

CAPTCHA_image.asp running in different session

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30231
Printed Date: 27 March 2026 at 11:05pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CAPTCHA_image.asp running in different session
Posted By: tpoulos
Subject: CAPTCHA_image.asp running in different session
Date Posted: 20 March 2012 at 1:40pm
I'm having trouble getting the CAPTCHA to work correctly.  After some debugging it appears that the call to CAPTCHA_image.asp via the <img src="CAPTCHA/CAPTCHA_image.asp" tag in CAPTCHA_form_inc.asp is running in a separate session from the main application.  The Session variable strSecurityCode is never stored in the same session as the other pages, so the CAPTCHA always fails validation.
 
The server is not load balanced and not a web farm and other Session variables are working correctly.  Other .asp pages in the CAPTCHA sub-folder are being called under the parent session ID and are storing test Session variables correctly that can be retrieved by the parent page.
 
Any idea what might be causing this issue?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 20 March 2012 at 4:29pm
Unless you are running multiple worker process for the websites application pool then all sessions for the website would be stored in the same session.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net