My guys here managed to get the unique number wiht Math.random(). Till now (around 3 years) it is working fine, now we got an issue which shows two sessions (not sessionId, we are using this unique number for other reasons) are running with same unique number.
The problem here is, I can't use UUID class because my application is running under Jdk1.4.
Can any help me to impelement the best solution here...!!