tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Fdez" <abraham.fernan...@fnac.es>
Subject RE: Deserialize tomcat sessions
Date Mon, 27 Feb 2006 14:54:01 GMT
Thanks Filip,

But... could you help me how to do it?. Now I only have this:

Object stuff = (Object) new ObjectInputStream(new
ByteArrayInputStream(kk2.getSession_Data())).readObject();

Where kk2.getSession_Data returns a byte array (byte[]) where attributes
are.


Thanks,

Abraham Fernández Álvarez
Dpto. de Informática 
FNAC ESPAÑA S.A. 
Parque Empresarial La Finca
Pº de la Finca, bloque 11 2ª Planta
28223 Pozuelo de Alarcón (Madrid) 
( +34 91 7689211
7 +34 91 7689225 
/ abraham.fernandez@fnac.es
: http://www.fnac.es 
 
 
 
 
 
 
 
 
 
 
 
-----Mensaje original-----
De: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] 
Enviado el: lunes, 27 de febrero de 2006 14:18
Para: Tomcat Users List
Asunto: Re: Deserialize tomcat sessions

File: StandardSession.java
Method: readObjectData

Filip


Abraham Fdez wrote:
> Hi all,
>
>  
>
>  
>
> I have Persistent sessions in tomcat that are saved into Postgresql
> database. I make a Select from tomcat_sessions in order to get sessions to
> get an attribute that is on each one.
>
>  
>
> What is the function to deserialize each session from database?
>
>  
>
>  
>
> Thanks,
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message