• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How is session id generated in weblogic?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Does anyone know how a session Id gets generated in weblogic? Does the container use Random or SecureRandom to generate the Id?

Thanks,
Kavitha
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Off topic but somewhat funny...

I'm not sure of the exact algorithm but I'm pretty sure that there is some randomness in addition to using the system time in milliseconds. However, I can tell you that a while ago there was a bug issued from a customer that was very upset that the session id contained a word that most English speaking people would understand is not a word used in polite company. The funny thing was that it really was getting generated randomly. WLS engineering was required to eliminate the ability for the algorithm to generate these words. I think the solution was to remove some letters like, oh, "f" from the algorithm.
 
reply
    Bookmark Topic Watch Topic
  • New Topic