Session scope beans are available to a user and their browser session (I'm 99% sure
that one session corresponds to connection from one browser program).
So if a user has two browser windows open accessing pages on your site, then they
can potentially create simultaneous requests that access the same bean in session
scope. So session beans need to be thread safe.
<snip>
> I don't understand why beans with session scope should be thread safe.
> Could you explain this more in depth ? (With an example if possible ?)
>
> Thanks in advance,
>
> Peter Collette
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html