Change in's handling of forms

Posted on 2006-03-30
Last Modified: 2010-03-05
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.
Question by:Zarakin
    LVL 39

    Expert Comment

    Anything in your log files?  Error and/or access log?

    Author Comment

    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.
    LVL 39

    Accepted Solution

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
    There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now