wood burning stoves 2.0*
The moose likes Web Services and the fly likes maintaning session info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "maintaning session info" Watch "maintaning session info" New topic
Author

maintaning session info

Hari Sundharesan
Greenhorn

Joined: Dec 06, 2005
Posts: 13
hav a scenario where i have to maintain session information on the server side to prevent a case where a client cannot login more than once.

am using jboss 4.0.2, jboss.Net , wsdl and ejb's..

any suggestions will be helpful


hari
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42358
    
  64
Do you mean he can't login from two browsers simultaneously, or he can only ever log in a single time? If the former, you could keep a List of currently logged-in users in a static variable of your service. If the latter, some sort of DB storage might be called for.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: maintaning session info