Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpServlet SessionID  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1739
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a unique sessionId for each instance of a particular web application running on an application server?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd need to consult the Servlet Specification for such details. But frankly that's not anything I've needed to be concerned about in over a decade and half of working with servlets. Makes me wonder why you need to know this?
 
Steve Dyke
Ranch Hand
Posts: 1739
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:You'd need to consult the Servlet Specification for such details. But frankly that's not anything I've needed to be concerned about in over a decade and half of working with servlets. Makes me wonder why you need to know this?


Again after your response I see your point. In the past I would generate a pseudo session ID a store that in a remote file. Then I would use this to know how many sessions were open.

I am now trying to use a Listener to get the count. So I suppose there is no need to have access to the sessionID.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!