Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Bean and Servlet

Mohammed Zabin

2007-07-26

Replies:

What do you suggest to overcome this problem?

On 7/25/07, Caldarale, Charles R <Chuck.Caldarale@(protected):
>
> > From: Mohammed Zabin [mailto:jotnarta@(protected)]
> > Subject: Re: Bean and Servlet
> >
> > I will tell you the procedure; At each time the user clickes
> > the first page in the site, a random numbers will be generated
> > and stored in the session.
>
> You're missing the point. The user may click multiple times before the
> first request is even received by the webapp, or the browser may simply
> fire off multiple parallel requests, or the user may open multiple tabs
> for the same web site. All of the above will result in multiple
> concurrent requests occurring for the same session. Does your logic
> handle that properly? The code snippet you posted does not.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.