- Sep 10, 2001
- 11,711
- 8
- 81
Is there any standardization in the format of Session ID accross different web servers?
I'm seeing some Web Servers append server speicific information to the Session ID they generate, which may change over the life cycle of that web server. For example, Web Logic does something like:
Session ID!Primary Server Hash!Secondary Server Hash!Some Other Hash
So after the actual session ID are these tokens delimmited by exclamation mark, and I am not sure if that is Web Logic specific or not- maybe some servers actually have exclamation marks within the Session ID itself?
I ask because I need to cache things specific to a session (so key it by session id) but sometimes that session ID changes so I have to know how to truncate any of the junk like prmary/secondary server hash and make sure it works with any vendor (ie not WebLogic specific!)
I'm seeing some Web Servers append server speicific information to the Session ID they generate, which may change over the life cycle of that web server. For example, Web Logic does something like:
Session ID!Primary Server Hash!Secondary Server Hash!Some Other Hash
So after the actual session ID are these tokens delimmited by exclamation mark, and I am not sure if that is Web Logic specific or not- maybe some servers actually have exclamation marks within the Session ID itself?
I ask because I need to cache things specific to a session (so key it by session id) but sometimes that session ID changes so I have to know how to truncate any of the junk like prmary/secondary server hash and make sure it works with any vendor (ie not WebLogic specific!)