I need to serialize the session and save it to a blob in MySql (i use Hibernate). I have tried, for example; ... ByteArrayOutputSream baos = new ByteArrayOutputstream(); ObjectOutputStream oos = new ObjectOutputStream(boas); oos.writeObject(session); //<-- it fails here, nothing in the logs byte[] sessionAsBytes = baos.toByteArray(); ... I need this to give the user the option to restore a previous session (where they where before they last logged out, with all the session variables required to restore to that point). Thanks, Johan.
[OT] Serializing HttpSession Object
Johan Wasserman - CPX Mngd Services Thu, 15 Apr 2004 23:25:03 -0700
- Re: [OT] Serializing HttpSession Objec... Johan Wasserman - CPX Mngd Services
- Re: [OT] Serializing HttpSession ... Michael McGrady
- Re: [OT] Serializing HttpSession ... Craig McClanahan
- Re: [OT] Serializing HttpSession ... Michael McGrady