File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "maintaning session info" Watch "maintaning session info" New topic

maintaning session info

Hari Sundharesan

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

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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.
I agree. Here's the link:
subject: maintaning session info
It's not a secret anymore!