Also, the session ID itself can be found in response.session_id.

Anthony

On Saturday, July 7, 2012 11:37:18 AM UTC-4, 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.
>
>>
>>    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.
>
> Anthony
>

Reply via email to