-
Apr 3rd, 2007, 11:08 AM
#1
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
-
Apr 14th, 2007, 03:19 PM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules