Posted on 2002-03-20
Is there a way to generate the session ID myself instead of servlet engin generating it?
I am developing a web site that users must login to access it. I want to prevent users from openning 2 browsers and login them both. In other words, I want to allow only 1 access to my site at a time for a same user. The second login from the second browser should logoff the first login from the first browser.
I can achieve this by generating the Session ID based on the username. But I just don't know if it is possible to generate Session ID myself.
Thanks in advance.