Lukasz Szybalski schrieb: > Hello, > Is the build in session management of TG2 capable of distinguishing 2 > windows open for the same user? > > I opened the first window. I log into tg2 application, .... > Then I open second window , the browser already knows about my session > state(I think thanks to caching in browsers), I open an application > and....? > > Question is...Do I need to design my application to support multi > windows and make sure that 2 records that are in 2 different windows > don't get attached to same session or record? OR is tg2 components > doing that somehow? > > How is that done? I want to allow user to have 5 browser open with my > application so that he can help 5 different customers at the same time > if he can.
The short answer to this: it's not possible. And its'n not needed, either. Because if you want to support this - don't use the session. Use parametrized URLs (which essentially the advice of Michael boils down to). If a agent wants to open e.g. 5 windows out of a search with different user-profiles he's communicating with - there is no problem, if the search-results are producing urls that contain some user-id. And if all forms or other means of interaction with this user that happen later also always contain that url. Which is simple & good design anyway. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

