Hello,

I have a (I guess rather common) scenario: my application is providing some 
information to the connected users, depending on some input parameters. The 
 input parameters can be set in a per-browser-window way. That means, user1 
can be logged in two different browser windows (or two different browsers, 
or two different computers, ...) and perform two different kinds of 
request. Let's say in window1 he is requesting page11, and in window2 he is 
requesting page22.

   1. the session object maps to a browser-window (*not* to a user!). Is 
   this correct?
   2. 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?
   3. 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.
   
Thanks,
Daniel

Reply via email to