Does WebSphere append data to it's Session ID?

lozina

Lifer
Sep 10, 2001
11,711
8
81
Some web servers append server related data to session ID's as a convenient way to keep track of what server that session belongs to and what-not. For example, if you do getId() on a HttpSession in a webapp hosted by WebLogic, you get a string that has several tokens delimmited by a exclamation mark ('!'). The first token is the actual session ID, the second is a hash to identify the primary server for that session, the third token is a hash to identify the secondary server, and finally a fourth token- err I don't remember what it's for.

But anyway, does WebSphere do anything similar to this? If so, what is the format? Thanks!
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Just out of curiousity, why are you trying to reverse engineer session ids? If the vendors meant for developpers to do that they would provide documentation.
 

znaps

Senior member
Jan 15, 2004
414
0
0
I've used Websphere and don't remember it doing that with session IDs, but I've never done any sort of clustering.

You'd probably get an answer pretty quickly on the webshere newsgroups.