/ Zope / Apsis / Pound Mailing List / Archive / 2004 / 2004-02 / Q: about 'svc.c:upd_session()'

[ << ] [ >> ]

[ feature suggestions / Pavel Merdine ... ] [ New -current / Robert Segall ... ]

Q: about 'svc.c:upd_session()'
Alexander Lazic <al-pound(at)none.at>
2004-02-02 22:12:38 [ FULL ]
Hi,

just for clarification, do i understand this right that you add the the
Session cookie _after_ pound read the response from server?

---
/*
 * (for cookies only) possibly create session based on response headers
 */
void
upd_session(GROUP *g, char **headers, struct sockaddr_in  *srv)
---

al ;-)

PS: What does you think about the SubCOOKIE answer?

Re: Q: about 'svc.c:upd_session()'
Robert Segall <roseg(at)apsis.ch>
2004-02-03 10:01:44 [ FULL ]
On Mon, 2004-02-02 at 22:12, Alexander Lazic wrote:[...]

Yes. If no session cookie was found in the request from the client it
may still happen that a cookie is present in the back-end response. In
such cases the session tracking is started based on the response.
[...]

I'm still waiting for a good suggestion - I replied to the last one.[...]

Re: Q: about 'svc.c:upd_session()'
Alexander Lazic <al-pound(at)none.at>
2004-02-03 10:11:16 [ FULL ]
On Die 03.02.2004 10:01, Robert Segall wrote:[...]

;-)) Cool solution.
[...][...]

Sorry but I don't get a answer to my last mail, is this the last answer
from me that you have?

---
Date: Fri, 30 Jan 2004 08:33:18 +0100
From: Alexander Lazic <al-pound(at)none.at>
To: pound(at)apsis.ch
Subject: Re: Config grammar - RFC
Message-ID: <20040130073318.GA27032(at)none.at>

On Don 29.01.2004 16:38, Robert Segall wrote:[...]

Thats right.
[...]

You are right but this much more time investment, if you want to make it
i have some ideas about this:

1.) Session SubCOOKIE '$REGEX' $TIMEOOUT $MATCHED_PARENTHESES
2.) Session SubCOOKIE '$REGEX' $TIMEOOUT  => and Pound analyse the regex
    and lookup for matching parentheses
---

al ;-)

MailBoxer