Hello,<br>this morning, when I woke up, taken from curiosity, I've opened hunchentoot code to inspect how sessions are handled.<br>I've seen that session modifiers are all protected with the WITH-LOCK form, now my question is *session-data* common to
<br>all hunchentoot servers instantiated on the same lisp instance ?<br><br>Another question, now suppose we have in a single hunchentoot server serves two applications ( distinguished by their path ).<br>It seems that hunchentoot shares the session between these two, and sometime it's good, but what should I do if I want applications to share different sessions ?
<br><br><div class="gmail_quote">On Jan 5, 2008 12:01 AM, Andrea Chiumenti <<a href="mailto:kiuma72@gmail.com">kiuma72@gmail.com</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;">
Ok,<br>you convinced me.<br>For now I can use elephant for my cl-webobjects project.<br>Then I could hack swarmcache (<a href="http://swarmcache.sourceforge.net/" target="_blank">http://swarmcache.sourceforge.net/</a>)<br>
and port it to lisp (if I gain a bit more experience in CL coding)
<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Jan 4, 2008 11:27 PM, Volkan YAZICI <<a href="mailto:yazicivo@ttmail.com" target="_blank">yazicivo@ttmail.com</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>"Andrea Chiumenti" <<a href="mailto:kiuma72@gmail.com" target="_blank">kiuma72@gmail.com</a>> writes:<br></div><div>> to have a process safe server, both cl-perec and elephant use a non
<br>> pure lisp solution :(<br><br></div>So you shouldn't be using HTTPS with hunchentoot too, 'cause it<br>depends on a foreign ssl library. That's the trade. But you may want<br>to chose waiting for somebody to implement an ACID compliant storage
<br>framework in lisp -- with tons of other indexing, concurrency, data<br>integrity stuff. (By the way, there exists commercial solutions. See<br>AllegroCache for instance.)<br><br>On the other hand, IIRC elephant could use Berkeley DB as a
<br>backend. AFAICS, probability of finding libdb installed on a system is<br>much more higher than finding libssl installed.<br><div><div></div><div><br><br>Regards.<br>_______________________________________________
<br>tbnl-devel site list<br><a href="mailto:tbnl-devel@common-lisp.net" target="_blank">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>
</div></div></blockquote></div><br>