[Twisted-Python] session management

Mark elihusmails at gmail.com
Wed Mar 31 00:10:42 EDT 2010


I figured as much that twisted supported the notion of sessions.  Are
there any examples that show me how to access them and
add/remove/update attributes in the session?



On Tue, Mar 30, 2010 at 6:42 PM, Itamar Turner-Trauring
<itamar at itamarst.org> wrote:
>> Greetings,
>>
>> I am new to this list and twisted.  I have worked with some systems
>> similar to twisted, notably Apache MINA.  I am trying to find out how
>> to set up my server to support sessions for multiple clients.  Right
>> now I am simply developing a telnet-like application to learn twisted
>> but cannot figure out how to manage sessions for the remote clients.
>
> Each Protocol instance stays alive for the lifetime of the connection it
> is matched to (via the transport). So just store attributes on the
> Protocol instance.
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



More information about the Twisted-Python mailing list