On Saturday, July 7, 2012 5:37:18 PM UTC+2, Anthony wrote: > > >> 1. the session object maps to a browser-window (*not* to a user!). Is >> this correct? >> >> The session is associated with a particular browser, but not with a > particular window/tab within the browser (i.e., two windows in the same > browser will share the same session). Different browsers on the same > machine or different machines will have different sessions, even with the > same user. >
I see. Is it possible at all to identify browser windows? > >> 1. The request parameters are not being sent with every request: they >> are just being configured by the user and expects them to be remembered >> by >> the server, which must return the information as configured by the user. >> I >> guess I can store these parameters in the session object. Correct? >> >> Yes. > >> >> 1. But I need more: I need to instantiate a pool of processes which >> are managed by third-party components. The objects in the pool map 1 to 1 >> to the browser sessions. Is there a session id/key/hash that I could use >> to >> perform this mapping? Is there an example somewhere of how this session >> id >> can be used? If there is not, I will need to create my own session id, >> but >> I would prefer to avoid reinventing the wheel here. >> >> Perhaps you can add a unique key to the session, and then use that key to > identify the associated pool object. > Exactly what I have done (uuid.uuid4()) > > Anthony > Thanks!