Change in's handling of forms

I have been running Matt's for a while now and it has worked fine.

But now it won't redirect to a thank you page or it won't use the internal thank you page. If I try redirecting, after submitting the form i get this in the browser: "Location: http://address_to_thankyou_page.html" . If do not use redirect, I get the default "thank you" in the script - NOT as a html-page but as source code.

I'm on a 2003 Web Edition server with IIS 6 and Active Perl installed.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Anything in your log files?  Error and/or access log?
ZarakinAuthor Commented:
Can't see anything in the perl error.log which is the only one I found.

But I think my problem is related to upgrading to a more secure version of that doesn't allow cross-scripting. The tag "Location:" is there in the script in if-else statement. If no redirect, then print the default thank you page... But either i get the "" or the default page printet to the screen in html.
I'm not sure where IIS stores it log files... I think it's somwhere in %windir% though.  

Do you get the same with different browsers?  Have you tried firefox?  

When the script is redirecting, make sure nothing else is printed before the redirect gets printed.  If something else is printed, this will cause the behavior you are seeing.

When it is printing the default "thank you" page, make sure a content type header is printed.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.