The moose likes Tomcat and the fly likes how to implement globally unique identifier (GUID) in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "how to implement globally unique identifier (GUID) in tomcat" Watch "how to implement globally unique identifier (GUID) in tomcat" New topic
Author

how to implement globally unique identifier (GUID) in tomcat

seetharaman jayaraman
Ranch Hand

Joined: Feb 18, 2008
Posts: 42
Hi,
We maintain session ids with log in, but which is invalidated only when we close the browser instead of at log out time. So, if i re-login without closing the browser i get the same session id. how to fix this.

And also help in implementing GUID in tomcat.

Thanks & Regards
Jaikiran Pai
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6561

seetharaman jayaraman wrote:Hi,
We maintain session ids with log in, but which is invalidated only when we close the browser instead of at log out time.



How do you "logout"? Do you call session.invalidate() on logout?

[My Blog] [JavaRanch Journal]
seetharaman jayaraman
Ranch Hand

Joined: Feb 18, 2008
Posts: 42
yes, session.invalidate() is called and then a logged out screen is displayed to the user
Kees Jan Koster
Ranch Hand

Joined: Mar 31, 2009
Posts: 220
Have you looked at http://java.sun.com/javase/6/docs/api/java/util/UUID.html ?


Java-monitor, JVM monitoring made easy (and free)
 
 
subject: how to implement globally unique identifier (GUID) in tomcat
 

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture