Can we get away with extending START-SESSION by a realm argument that is added to or used instead of the *SESSION-COOKIE-NAME* to determine the cookie name or session id parameter?
-Hans
On 4/12/08, Andrea Chiumenti kiuma72@gmail.com wrote:
Not completely correct.
Suppose we want to "deploy" two applications in the same hunchentoot server instance. First, since they are two applications, they must have their own cookie each one.
Now we have two options:
- let them to share the same session data, then bind the two
applications to the same realm, 2) make the two applications completely independents, then bind them to two different realms.
So, 1 request to only 1 session and one session may be shared or not.
kiuma
On Sat, Apr 12, 2008 at 1:17 PM, Hans Hübner hans@huebner.org wrote:
On 4/12/08, Hans Hübner hans@huebner.org wrote:
if I understand your source code right, what you need is a realm argument to START-SESSION that makes it possible to have multiple sessions on one Hunchentoot server. Correct?
Well, I realised that my description of the feature is not quite right, another try: You want to have the option to use multiple sessions within one request, qualified by a realm argument. Or what? It would really help if you would describe your requirements yourself instead of letting us guess from your example source code.
-Hans
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel