This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

New Session Created Randomly in Tomcat 5.0.28

 
Nilesh Naik
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.

Has anybody faced the same problem?
I would appreciate if you can shed some light on this issue... any hint/solution?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic