<br><br><div class="gmail_quote">On Jan 16, 2008 6:20 PM, Edi Weitz <<a href="mailto:edi@agharta.de">edi@agharta.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, 16 Jan 2008 10:18:23 +0100, "Andrea Chiumenti" <<a href="mailto:kiuma72@gmail.com">kiuma72@gmail.com</a>> wrote:<br><br>> The behavior in url-rewriting is that, when switching from realm1 to
<br>> realm2 the session is reset in realm2: this means (setf *session*<br>> nil) and (setf (session request) nil).<br>><br>> So this will make to create a new session for realm2 but it will<br>> maintain the session for realm1.  Navigating inside the same realm
<br>> maintains the session.<br><br></div>That means that switching realms without cookies will be different<br>from switching realms with cookies?  Hmm, not good.</blockquote><div>the only possibility is to rewrite/patch the url-rewriter 
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="Ih2E3d"><br>> Please let me know, because I need these info to proceed with my
<br>> project.<br><br></div>I'm not really convinced yet that this is really a useful addition for<br>Hunchentoot.</blockquote><div>Sorry, but are you joking ??<br>Suppose I'm the customer, I buy  a web application from you, this application is a wonderful e-commerce application, and you use the "user" session key to store a user principal.
<br>I then "deploy" this web application on my well configured hunchentoot running on port 4242.<br>Then I buy from SuperLispCoders L.t.d. another web application that is a web-log analyzer that has an administrative area.
<br>oops! cl-weblog uses "user" session key too, and for a totally different need and its structure is different too!!<br>Please don't tell me to open another port, for policy reasons they are all closed and my boss told me to use the same hunchentoot instance!!
<br>..... the story continue!<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">  Also, don't having much time to think about this, are
<br>you really sure this can't be done with the current session framework<br>without the need to patch Hunchentoot or to write your own session<br>code?<br><br>Anyway, if you need this for your own projects, don't wait for me, but
<br>rather write code that doesn't depend on a patched Hunchentoot.  I'm<br>too busy right now to make any promises about updates or patches.<br><div><div></div><div class="Wj3C7c"><br>Edi.<br>_______________________________________________
<br>tbnl-devel site list<br><a href="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</a><br><a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel
</a><br></div></div></blockquote></div><br>