[plt-scheme] share variable in servlet programs

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Jan 2 23:11:34 EST 2006

Can you send the proposed code?

In what way do you mean to 'share'? Between different servlets (i.e.
servlet1.ss and servlet2.ss) or different servlet instances?

In v20x, there was a bug where each servlet did not have a separate
module namespace and conf/refresh-servlets did not properly reload
module servlets. I have a feeling that what you're experience may be
related.

Jay

On 1/2/06, Chongkai Zhu <u0476504 at utah.edu> wrote:
> Hello plt-scheme,
>
> In PLT v20x, sharing variable in servlet programs is easy:
> I just write a program that defines all the shared variables,
> and call serve in that program to start the server, then
> all variables defined in that program become available
> in all servlets.
>
> But when I try the same program in v300, this trick can't
> work. Could anyone suggest a way to share variables in
> v300 of servlets? Many thanks.
>
> Sincerely,
> Chongkai Zhu
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


--
Jay McCarthy <jay at cs.brown.edu>
http://jay.makeoutcity.com/


Posted on the users mailing list.