>>> Soumya Sankar Basu <[EMAIL PROTECTED]> 30-Jan-00 4:41:33 AM
>>>
>I have used session persistence for that. In session I keep user id
and
>page proceeding. After every time login I check for the previous
sessions
>from the session context, if any session exists for the user, I do
use that
>session.
Session contexts are no longer supported in many servlet engines
because they have been depreceated in the API.
>As of now it seems to be working fine. I tried for apache.
JServ still supports this I think because JServ it still supporting
version 2.0 of the servlet API. Current version is 2.2.
>Or is there any better way to implement this?
Can't you serliaze the objects in the session rather than the
session?
Serialize the objects to a single file named by the userid and then
when the user logs in read in the object and add them to a new
session.
This seems better than the way you're doing it now.
Nic Ferrier
___________________________________________________________________________
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