[hunchentoot-devel] different sessions in different tabs

Robert Synnott rsynnott at gmail.com
Wed Nov 19 18:39:23 UTC 2008


2008/11/19  <franks-muc at web.de>:
> If I start two "sessions" at a hunchentoot page from two different tabs in firefox, the *session* object accessible in the handler is the same for requests from both tabs. I would want to track the sessions separately.
> In a next step I would introduce user authentication, and hope that only one authentication is necessary to start plural sessions from different tabs.
> Is there a standard way to achieve these functionalities ?
> Thank you for your comments.
> Frank
>
> _______

Cookies are usually per-browser, not per window. You could probably do
your own sessions and pass around an ID as a GET parameter, though
that would be messy.

Alternatively, you could have a number of different domains; each
domain would then get a different session.
Rob




More information about the Tbnl-devel mailing list