/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-12 / pound-2.0b5 and sessions

[ << ] [ >> ]

[ problems with HA port implementation / Ted ... ] [ Re: [Pound Mailing List] FW: pound addon - new ... ]

pound-2.0b5 and sessions
Michael Redinger <Michael.Redinger(at)uibk.ac.at>
2005-12-30 19:13:43 [ FULL ]
Hi,

Cookie sessions seem to be broken for me. The problem seems similar to
http://www.apsis.ch/pound/pound_list/archive/2005/2005-12/1135136205000#1135136205000

Does this problem still exist in the current beta? Having a quick look
at the code, I thought I saw the fix there ...

A more detailed problem description:

I am using a config like the following:


Daemon 1
LogFacility local4
LogLevel 2
Alive 30

ListenHTTP

    Address 1.2.3.4
    Port 8080
    xHTTP 1
    WebDAV 0

    Service

        BackEnd
            Address 10.0.0.1
            Priority 5
            Port 80
        End

        Session
            Type COOKIE
            ID "my-cookie"
            TTL 3600
        End

    End
End




Now if I start a browser and enter the pound URL, it hangs and says it
is waiting for the server (using tcpdump, I see that the client sends a
package and the server answers with an ack, but nothing follows).

As soon as I remove the "Session" part, it works as expected.

I also tried using PARM and set the ID corretly in the URL I entered.
This worked (at least I got the answer from the backend server).


Another note (feature request, actually):
I am using some PHP code (it is actually the Horde framework) that tries
 to set a cookie first for the session data. If this does not work, the
session data is provided using the URL.
So it would be very handy if I could use something like this:
Session
   Type COOKIE
   Type PARM
   ID "..."
   TTL ...
End
So, if the session cookie is set, use it. Otherwise try the URL. If none
matches, it is a new session.



Thanks,
Michael






[...]

MailBoxer