[Twisted-web] multiple sessions on same host:port

Federico Tomassini federicotom at yahoo.it
Tue Oct 7 16:55:26 EDT 2008


Hello,

I'm wondering about the chance to create multiple sessions with guard,
on the same host:port.

The idea is: i set up an apache proxy that, depending on the first
segment of the url requested (/foo or /bar, for example) will forward
client requests on different twisted-nevow applications, running behind.

Now, it seems to be a good idea, because the root resource associated
with each request will depend on the first segment.

The problem is: each twisted-nevow application will want to create a
cookie to handle the session. Being these cookies related to the same
host:port, the different twisted-nevow applications will be in conflict,
maybe overwriting the cookies created by their friends.

Is this correct? Or cookies depend on the url? Are browsers aligned on
cookies handling? Or is it possible to expect a different behaviour from
different clients?

-- 
efphe
Today is Setting Orange, the 61st day of Bureaucracy in the YOLD 3174



More information about the Twisted-web mailing list