Hello everyone, I know whenever a user deals with your server (makes requests) a session is established which can be manipulated and tracked (using various methods). Is it possible for a servlet to establish a session between two seperate distinct users? So that they can pass information between them? How could this be achieved?
Thanks very much. My currnet line of thinking is to create a Hashtable which associates users with their sessionID. So then if one user wants to send information to another user, the recipient is looked up in the hashtable, his sessionID obtained and then a response is sent. My other thoughts was to setAttribute(user, session) thereby associating the user with his session. however, in the servlet tutorials it states: "Such attributes are accessible by any web component that belongs to the same web context and is handling a request that is part of the same session." A second, distinct user would not be part of the same session, right? And what is the web context, exactly? Thank you for your time, Alex Pop ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
