Captcha control ruins friendly url on postback

Thynchype

New Member
I have a web application which rewrites paths using IHttpModule. Say the user is redirected to a path like this :\[code\]www.domain.com/activateUser/[email protected]/cd39e3a6-6fe8-4ede-a51f-b5469a36acb8\[/code\]and the actual path of my page which is rewritten would be something like this :\[code\]www.domain.com/[email protected]&token=cd39e3a6-6fe8-4ede-a51f-b5469a36acb8\[/code\]its for activating user's account on my web application.Now in this page I have captcha control that appears under some circumstances. When user inputs the value for captcha I understand that captcha does some redirecting to the same page url changes into something weird as follows :\[code\]www.domain.com/ActivateUser/[email protected]/ActivateUserAccount.aspx?email=somebody%40somewhere.com&token=cd39e3a6-6fe8-4ede-a51f-b5469a36acb7\[/code\]and of course I get the 404 page not found error!!Any idea ? By the way Im writing in C# & .net 4.0 and I so far tried mscaptcha from http://mondor.org and telerik captcha too. Thnks in advance
 
Back
Top