This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41092
    
  44
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
 
Similar Threads
Clearing the session.
Problems invalidating HttpSession
Sessions Exceeded using Oracle 10g, Hibernate, Spring and Tomcat 5.5
feel confused about httpsession
Reentrant page question.