Results 1 to 6 of 6

Thread: When possible: sent http server-side header redirect

  1. #1
    Join Date
    Jan 2009
    Posts
    24

    Default When possible: sent http server-side header redirect

    Instead of the currently used javascript based redirect solution, for browsers with javascript disabled, currently a manual to click link appears,
    would be nice if the server instructed the client to go look somewhere else.

    Like 302, 303 See other, or 307 Temporary redirect (for http 1.1 clients)

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: When possible: sent http server-side header redirect

    Hi,

    FormMail tries really hard to redirect the user.

    Three methods are employed:
    1. HTTP header response specifying the Location
    2. Javascript redirect
    3. Manual link
    If #1 doesn't work (it should and does with most browsers), then the Javascript hopefully will.

    Otherwise, there's not much else it can do.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Jan 2009
    Posts
    24

    Default Re: When possible: sent http server-side header redirect

    In our
    1. Firefox 2.0.0.20
    2. Safari 3.2.1.
    3. Opera 9.6.3
    , method #1 "http header response redirection" is not performed.


    These server headers sent are to the client:
    Date: Fri, 02 Jan 2009 12:12:33 GMT
    Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l DAV/2 PHP/5.2.6
    X-Powered-By: PHP/5.2.6
    MS-Author-Via: DAV
    Content-Length: 289
    Keep-Alive: timeout=15, max=500
    Connection: Keep-Alive
    Content-Type: text/html

    200 OK

  4. #4
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: When possible: sent http server-side header redirect

    Hi,

    OK.

    Perhaps your server is not allowing PHP to send header fields.

    This could be caused by output buffering being switched off in PHP's configuration.

    Please switch off JavaScript in your browser and send me a test message using this form: https://secure.rootsoftware.com/~tectite/sendsecret.php

    Does it redirect to the "Submission successful" page? If so, then that confirms the problem is with your server.

    Bear in mind that FormMail is used on tens of thousands of servers, and almost no one has ever complained about a redirect problem.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Jan 2009
    Posts
    24

    Default Re: When possible: sent http server-side header redirect

    https://secure.rootsoftware.com/%7Et...sendsecret.php is ok: without javascript it redirects.

    So it must be the Mac Os X server its PHP configuration.

  6. #6
    Join Date
    Jan 2009
    Posts
    24

    Default Re: When possible: sent http server-side header redirect

    Exactly: /private/etc/php.ini says: output_buffering = Off
    Changed this line to: output_buffering = 4096

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Forcing charset in e-mail header
    By Wojtek in forum FormMail Subscription Support
    Replies: 14
    Last Post: 22-Feb-2005, 08:28 AM
  2. Redirect NOT working
    By LordWulf in forum FormMail Subscription Support
    Replies: 3
    Last Post: 21-Aug-2004, 09:47 PM
  3. Now I am stomped! URL for redirect
    By sigurdur in forum FormMail Subscription Support
    Replies: 3
    Last Post: 01-Aug-2004, 12:02 AM
  4. Link to your own REDIRECT page?
    By cottonslurpy in forum FormMail Subscription Support
    Replies: 2
    Last Post: 17-Jun-2004, 08:36 PM
  5. Redirect to my page on submit
    By insight in forum FormMail Subscription Support
    Replies: 21
    Last Post: 09-Apr-2004, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •