File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41597
    
  55
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: maintaning session info