This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm trying to record some session based data into a database. I want to use the sessionID , but am not sure how unique it is. The data being recorded belongs to 2 application, each executes in its own JVM, possibly a different physical server . So, is the HTTPSession ID universally unique?
But I would not bet the farm on it. Rather than relying on the ession ID, you'd be better off assigning a known unique value to each session to use as a database key, perhaps generated from a DB seuqence.