[plt-scheme] Re: Module instantiations for servlets

From: Daniel Pinto de Mello e Silva (daniel.silva at gmail.com)
Date: Wed Dec 29 13:33:48 EST 2004

Nevermind, it's not a bug since they're two different programs.

Daniel


On Wed, 29 Dec 2004 10:58:01 -0500, Daniel Pinto de Mello e Silva
<daniel.silva at gmail.com> wrote:
> I have two servlets, a.ss and b.ss, that share a module util.ss with
> some state.  The web-server seems to instantiate util.ss twice (once
> for a.ss and another for b.ss) so the data isn't shared.  Is this a
> bug?
> 
> If it's not a bug, how should different modules of a web app share
> state?  I'm splitting the website into different servlets so it's
> possible to link to different sections (e.g., a user profile) instead
> of always to the start.
> 
> Daniel
>



Posted on the users mailing list.