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
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: 39548
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: maintaning session info
 
Similar Threads
feel confused about httpsession
Reentrant page question.
Problems invalidating HttpSession
Sessions Exceeded using Oracle 10g, Hibernate, Spring and Tomcat 5.5
Clearing the session.