in reply to Re: Re: Re: Re: Cookies, Redirect & IIS
in thread Cookies, Redirect & IIS

I am self-taught and don't always grok the terminology but I printed a text header prior to the execution of the snippet and got this:
login - approved 1000 /cgi-bin/hs/assessment_recs.pl HTTP/1.1 302 Moved Server: Microsoft-IIS/4.0 Status: 302 Moved Set-Cookie: hs_ident=1000; path=/ Date: Wed, 06 Aug 2003 20:25:36 GMT Location: http://192.168.9.9/cgi-bin/hs/assessment_recs.pl
g_White

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Cookies, Redirect & IIS
by waswas-fng (Curate) on Aug 06, 2003 at 21:17 UTC
    Now do the same on a working version of your script running on apache or iis5, do you see the difference?

    -Waswas
      OK, I get:
      HTTP/1.1 302 Moved Server: Apache/1.3.27 (Unix) mod_perl/1.27 PHP/4.2.3 Status: 302 Moved Set-Cookie: hs_ident=2527; path=/ Date: Thu, 07 Aug 2003 00:34:55 GMT Location: http://192.168.9.25/cgi-bin/hs2/assessment_recs.cgi
      so no, I don't see a bit of difference except the server string, and the fact one works and the other doesn't

      g_White
        If that is the real output of both, you need to start looking at differences on the browser as both look ok to me. Are you using the same browser for both tests? if so is the network at the same security level for both server's IP address? You have now discounted the generating CGI as the culprit. you are left with the browser and the redirected cgi as the two possible baddies.

        -Waswas