• Post Reply Bookmark Topic Watch Topic
  • New Topic

force a new session?  RSS feed

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure which forum is appropriate for this question. I want to implement in jsp so I will ask here.
Is there a way to force a new session (get a new JSESSIONID)?
I have a third party tool running on apache/tomcat. The new version of the tool gets confused when multiple windows are opened (vendor bug, but I can�t wait for a fix). The issue seems to be that they are keeping a single value when they should be keeping an array (or they are only passing back the last element of the array).
If I simulate the flow manually starting separate instances of IE I get different JSESSIONIDs and all is well. If I put in code to exit the workflow, create a new window and login into the app, I get a new ID for the vendor�s �session� but retain the earlier JSESSIONID. Now both windows are updating the same session values and things get hosed.
An advantage that I have is all users are internal, windows, using IE (if that helps).
Scott Patterson
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!