> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew S Tomlinson
> Sent: 04 December 1999 18:02
> To: [EMAIL PROTECTED]
> Subject: Re: Session Variables
>
>
> It is my understanding that you can only save objects in the
> session if they
> are serializable.
> App servers may flush session data out to disk. Moreover,
> according to a BEA
> rep at a recent seminar that is how Weblogic supports session
> continuity
> across multiple servers in a fault-tolerant cluster - all the
> servers access
> a common repository of session data (I am still a bit dubious
> about the
> reliability of this but this is how they explained it).
>
> Anyway, if your object isn't serializable you can't put it in
> the session
> and I do not think the JDBC connection or resultset are
> serializable (and if
> they are is there not some security issue here?)
>
> Anyway - would love to hear what the group knows about this...
No, objects don't need to be serializable to be stored in a session. However
you have answered the question why my session objects aren't persistant over
server re-starts - they aren't currently serializable - DOH! Obvious really
when you know why :-)
Steve
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html