cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Parolini" <t...@employer.com.br>
Subject RE: Cocoon and threads
Date Fri, 01 Jun 2001 17:32:15 GMT
I think this beaviour was given by IE. I made the test on the same machine
using dfferente IE sessions...

Sorry about this...

The page seems now to be  synchronized...

- Tony

> -----Original Message-----
> From: Antonio Parolini [mailto:tony@employer.com.br]
> Sent: sexta-feira, 1 de junho de 2001 14:22
> To: cocoon-users@xml.apache.org
> Subject: Cocoon and threads
>
>
>
> Hi there,
>
> Let's think about the following XSP page accessed by two users in the same
> time:
>
> <page>
> 	<xsp:logic>
> 	String sName = session.getAttribute("name") ;
> 	[...]
> 	</xsp:logic>
>
> 	Welcome <xsp:expr>sName</xsp:expr>
> </page>
>
> In concurency tests I made, sometimes, users don't see their own
> name on the
> browser!
>
> One could put all the xsp page logic into a synchronize(this){ [..] }
> block...
>
> But I was wondering if someone already ran into this problem and
> what is the
> reason why XSP pages aren't already declared as synchronized...
>
> Any clues ?
>
> - tony
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message