This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can i get the row http request data from tomcat

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And then extract from it the session id .
can it be done some how ?
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please explain the problem?
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to deal with legacy web app code , that needs to add basic
authentication to it with sessions
now i need to be able to extract the session id from the header (
can't add sessions into the code )
the scenario is that only once and only once per page i pass the
session into the server side.
but in the next server side calls i don't have it and i can add code
to pass it into the server side call
since i have the session from the first time i will save it into the
map with the session id as the key.
now i need only to be able to extract the session id on every client request .
my question is .. can it be done ?
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic