users@glassfish.java.net

sessionId generation, uniqueness, customizing sessionId

From: <glassfish_at_javadesktop.org>
Date: Thu, 06 May 2010 12:30:54 PDT

Questions:
1) How does glassfish generate sessionIds?
2) Are glassfish sessionIds unique to the machine and process? (e.g. assume X glassfish instances on X servers NOT running in a cluster, but each operating independently, are the sessionIds generated by each instance guaranteed to be unique?)

If the answer to #2 is no, is there a way to specify a custom sessionId generator? I found something (here: http://wiki.glassfish.java.net/Wiki.jsp?page=SupportWLDDInContainers) saying "GlassFish does not provide configuration support for session id length, but supports custom session id generation algorithms via the "sessionIdGeneratorClassname" session manager property".

However, I have had not been able to find much else online regarding the "sessionIdGeneratorClassname" session manager property. Any info about this? It's not mentioned in the GFv3 developer guide.
[Message sent by forum member 'rwillie6']

http://forums.java.net/jive/thread.jspa?messageID=459873