Announcement Announcement Module
Collapse
No announcement yet.
RMI Session Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RMI Session

    hi I have java client and server software, connected by RMI.
    in the client program, I need to log in to server and the server need to keep a session for all the user information, such as username, dept etc.

    so my question is, is there anything like httpsession but in RMI? since I am not using browser.

    how to create a session in RMI to keep all the logged on user information?
    some sample code will be greately appreciated. thanks

    david

  • #2
    Hey,

    since RMI is not HTTP based and only for invoking a remote method, you could probably send an user id to the server and the server caches some informations about the user or get it from the database.

    Greets.

    Comment

    Working...
    X