[Opensource] Session

Michael Rimov rimovm at centercomp.com
Tue May 6 10:20:23 PDT 2003


At 11:49 AM 5/5/2003 -0300, you wrote:
>Hello all,
>
>what is the difference between setAttribute(),

Goes in the request context.  As soon as the request is done, all 
attributes set here are lost.


>setClientAttribute and

Sets an encrypted cookie in the browser with a default of a 90 day expiration.


>setPersistentAttribute in PersistentSession?


Sets to the client's session on the server.  So it essentially is stored in 
memory and expires when the client's session expires.

HTH!
                                                 -Mike





More information about the Opensource mailing list