-----Original Message-----
From: Pid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 2:52 PM
To: Tomcat Users List
Subject: Re: New Session Created Randomly in Tomcat 5.0.28



Nilesh wrote:
> Problem  Description :
>
>  1.  I have a  typical  JSP-Servlet web application running on tomcat
> 5.0.28.
>
>  2.  After successful login a new session is created. (in login.jsp)
> and user specific data is kept in session
>
>  3.  User moves on through the application .   Accesses  a JSP ( e.g.
> PageWithHeavyJavascript.jsp),  JavaScript code.
>
>  4.  After  doing some selections etc. PageWithHeavyJavascript.jsp, 
> user browses another JSP ( e.g.  plain.jsp)  which *does not* have any
> session related code. At this point *sometimes* a  NEW session is
> created. (By implementing HttpSessionListener I observed that the
> sessionCreated() methos is getting called everytime and
> sessionDestoryed() method is never getting
> called)
>
> 5. After lot of debugging I have observed that this happens when  lot
> of Javascript code is called through clicks etc. new session is
> created. I am unable to link lot of Javascript calls with New session
getting created.

Does the Javascript do any AJAX?
No, AJAX is not used. 

> I would appreciate if you can shed some light on this issue... any
> hint/solution?
>
> 
>
> -Nilesh
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to