/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-08 / Session Type Cookie not working?

[ << ] [ >> ]

[ MS Outlook Web/Exhange? / James ... ] [ Pound Performance / Jeffrey Brown ... ]

Session Type Cookie not working?
"Kenneth Lin" <klin(at)rezlink.com>
2006-08-18 13:38:17 [ FULL ]
I'm using Pound v.2.0 on a FC4 box.  Here is my pound.cfg:

 

User "nobody"

Group "nobody"

LogLevel 2

    

# WWW.DOMAIN.COM

ListenHTTP

    Address 192.168.1.207

    Port    80

    xHTTP   1

    Service

      Session

        Type COOKIE

        TTL 300

        ID "pound"

      End

      #Web Server 1

      BackEnd

        Address  192.168.1.201

        Port     80

      End

      #Web Server 2

      BackEnd

        Address  192.168.1.202

        Port     80

      End

    End  

End    

ListenHTTPS

     Address 192.168.1.207

     Port    443

     Cert    "/etc/pound/certificates/www.domain.com.pem"

     Ciphers
"ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL"

     xHTTP   1

     Service

       #Web Server 1

       BackEnd

         Address  192.168.1.201

         Port     80

       End

       #Web Server 2

       BackEnd

         Address  192.168.1.202

         Port     80

       End

       Session

         Type COOKIE

         TTL  300

         ID "pound"

       End

     End

End

 

Here is what I see from /var/log/messages:

 

Aug 18 07:31:39 pound1 pound: 10.10.4.8 GET /images/greenbutton.gif HTTP/1.1
- HTTP/1.1 304 Not Modified (192.168.1.202:80)

Aug 18 07:31:39 pound1 pound: 10.10.4.8 GET /images/rightbox.gif HTTP/1.1 -
HTTP/1.1 304 Not Modified (192.168.1.202:80)

Aug 18 07:31:39 pound1 pound: 10.10.4.8 GET /images/button2.gif HTTP/1.1 -
HTTP/1.1 200 OK (192.168.1.201:80)

Aug 18 07:31:39 pound1 pound: 10.10.4.8 GET /images/bottomborder.gif
HTTP/1.1 - HTTP/1.1 200 OK (192.168.1.201:80)

 

Shouldn't the backend server remain the same with the Session parameter in
place?

 

Thanks,


Ken



********************************************************************************************
IMPORTANT: The information contained in this message is privileged and
confidential.  It
is intended only for the use of the individual or entity named above.  If the
reader of this message is not the intended recipient, any dissemination or 
reproduction of it is strictly prohibited.  If you have received this
communication
in error, please contact us at postmaster(at)Rezlink.com immediately.  
Thank you.
********************************************************************************************
Attachments:  
text.html text/html 12661 Bytes

Re: [Pound Mailing List] Session Type Cookie not working?
Robert Segall <roseg(at)apsis.ch>
2006-08-21 17:33:23 [ FULL ]
On Fri, 2006-08-18 at 07:38 -0400, Kenneth Lin wrote:[...]

Not necessarily. If the four requests were issued in parallel and the
server did not reply with a session cookie (quite reasonable, given that
these are images), then there is no session as yet.

In any case you may want to upgrade to 2.1 - there were some fixes to
the session tracking code.[...]

MailBoxer