Luke,
On 6/7/05, Luke Chambers <[EMAIL PROTECTED]> wrote: > I'm trying to use mod_perl to place a Java Object into Apache's > session for retrieval and use later. I don't think that can be done. In perl land what you have is a stub that points to a Java object. You can store the stub in the session, but that won't keep the associated Java object alive. If you want to do that to need to explicitely serialize the Java object from Java, then store that data and recreate the object from scratch later. I'm not sure this can be done easily using Inline::Java > > However, when I retrieve it from session and try to use it, I am told > that it is of type "Inline::Java::Object=HASH(0xa970760))." rather > than its original type. > That is weird. What is the type before you store it? > Do I need to cast it when retrieving from session? If so, how. > > > ----- > Luke W. Chambers > Programmer > iParadigms, LLC > -- ===================== Patrick LeBoutillier Laval, Québec, Canada