thanks for the help...
I'm using Apache - Jserv - Jsdk2.0
Yes, i'am sure that the session don't persist after a reload.
In the real world how the servlets sites manage this problem??
Thanks
-----Mensaje Original-----
> De: Kevin Mukhar <[EMAIL PROTECTED]>
> Fecha:Wed Jun 14 13:42:43 EST 2000
> A:
>Asunto:Re: reload
>
>Desarrollo wrote:
>>
>> thanks for the help...
>>
>> somebody could point me to a sample to
>> serialize and deserialize all session objects
>> to and from a persistent store.
>
>Well, I just remembered that there was a discussion on this list just a few
>weeks ago about how session object are not serializable. So the task becomes a
>little harder. You have to extract the object references from the session
>(HttpSession.getAttributeNames, getAttribute), decide which objects are
>serializable (ref instanceof Serializable), store those in another collection
>(Hashtable, etc.), then serialize.
>
>Which servlet container are you using? Are you SURE it doesn't retain sessions
>between class reloading?
>
>Serialization: http://java.sun.com/docs/books/tutorial/essential/io/index.html
>Collections: http://web2.java.sun.com/docs/books/tutorial/
>Java Tutorial: http://java.sun.com/docs/books/tutorial/index.html
>
>K Mukhar
>
>___________________________________________________________________________
>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
>
---------------------------------------------------------------------------
Visite nuestro sitio web y obtenga m�s informaci�n http://www.e-professional.to
___________________________________________________________________________
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