Sreekumar Pillai wrote:

> 1. When you restart a webserver, what happens to the existing sessions?  Do
> they regenerate the sessionIDs after restart or do they use existing
> sessionIDs?
>
> 2. Some webservers serialize the session information to the disk and
> restores the sessions. In this case, what happens to the user beans in the
> session? Yes, the beans implement serializable interface.
>
> 3. I assume that there is no way we can guarantee the user sessions if the
> webserver is stopped and started again. Am I missing something?
>
> By the way, I am using IPlanet 4.0, if that matters.
>

There is no general answer to these questions.  If your servlet container
supports saving sessions across a server restart, then the sessions will
generally come back with the same session IDs they had before, and the same
session attributes (in other words, the client will have no idea that the
server was restarted if it did not try to submit any requests during the time
that the server was down).  However, the precise behavior is server specific
because it is not part of the standard servlet specification.

To know what happens with iPlanet 4.0, you should check the iPlanet docs (or
ask this question on one of their support lists).

>
> Thanks a lot, gurus.
>
> Sree
>
>

Craig McClanahan

___________________________________________________________________________
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

Reply via email to