Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: Multiple Cookies with CGI::Application

by Nomis52 (Friar)
on Jul 28, 2002 at 05:27 UTC ( [id://185811]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Multiple Cookies with CGI::Application
in thread Multiple Cookies with CGI::Application

Hmmm this doesn't look good, here's my output

HTTP/1.1 200 OK
Date: Sun, 28 Jul 2002 05:17:56 GMT
Server: Apache-AdvancedExtranetServer/1.3.23 (Mandrake Linux/4mdk) mod_ssl/2.8.7 OpenSSL/0.9.6c PHP/4.1.2
Content-Type: text/html; charset=ISO-8859-1
Set-Cookie: sessionID=blahblahblah; path=/
X-Cache: MISS from quigon.nomis52.com
Transfer-Encoding: chunked

If you reload it to see the cookies naturally only the last one is set

<li> HTTP_COOKIE => '<b>sessionID=blahblahblah</b>'

I tend to agree with you that this is an issue with my set-up, currently:

  • Apache 1.3.23
  • mod_perl 1.26
  • CGI 2.79
  • CGI::Application 2.4

I'm going to give it a go on a debian box and see if thats any different.

  • Comment on Re: Re: Re: Multiple Cookies with CGI::Application

Replies are listed 'Best First'.
Re: Re: Re: Re: Multiple Cookies with CGI::Application
by PodMaster (Abbot) on Jul 28, 2002 at 07:14 UTC
    It works as expected on my Win2k, running ActivePerl 5.6.1
    Apache/1.3.24 and Apache/2.0.36 
    CGI::Application 2.4
    CGI 2.752
    
    My mod perl versions aren't relevant, since I didn't run this under mod perl (and it makes no difference).

    I would suggest you check your CGI module by attempting to use it's header method. If that doesn't produce the correct headers, then your CGI is to blame, and you should get a newer one (like 2.8).

    If it produces the correct headers, then something is wrong with your CGI::Application, and you should reinstall or upgrade it.

    If that doesn't help, well, then you have ghosts in your machine ( not good )

    ____________________________________________________
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: Re: Re: Re: Multiple Cookies with CGI::Application
by yogivan (Acolyte) on Jul 29, 2002 at 10:07 UTC
    I think this is a bug with mod_proxy, which affects apache 1.3.23 and 1.3.24. I had the same problem on my Mandrake box, and upgrading to 1.3.26 (from Cooker) solved the problem.

    See here for a discussion on this.

    -yogivan

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://185811]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-20 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found