On Wed, Oct 21, 2009 at 5:24 PM, Lukasz Szybalski <[email protected]>wrote:
> > Hello, > Is the build in session management of TG2 capable of distinguishing 2 > windows open for the same user? > Hello, I can't answer this from a TurboGears perspective, as I'm still learning it. But I think I can answer your question more generally. Session state is generally maintained in one of two ways. Either the web server gives the browser a cookie with a session ID in it, or the session ID needs to be part of the URL. If you are using a cookie, each browser window has access to the same cookies, so you won't be able to distinguish one session from another if you have 5 windows of the same browser open. (Many browser windows are still basically one instance of a browser.) If you are using the URL to maintain the session state, then having multiple sessions in a window would be possible. I gave the TG2 documentation a cursory glance, and I inferred that TG2 sessions use cookies. I may be wrong, or you may find that its not all that difficult to add a unique ID to each URL that distinguishes the session. Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

