Thanks a lot for all your responses...

------------------------------
A++

St�phane



                                                                                       
     
                    "Drinkwater, GJ                                                    
     
                    (Glen)"                Pour :  Tomcat Users List                   
     
                    <G.J.Drinkwater        <[EMAIL PROTECTED]>            
     
                    @dl.ac.uk>             cc :                                        
     
                                           Objet :      RE: Ref Http Session           
     
                    13/09/2002                                                         
     
                    13:13                                                              
     
                    Veuillez                                                           
     
                    r�pondre �                                                         
     
                    "Tomcat Users                                                      
     
                    List"                                                              
     
                                                                                       
     
                                                                                       
     






session cookies id's are not saved to you hard drive. they are stored in
you
memory until the  browser is closed.

session attributes are stored on the server and have not contact with he
browser.  The session id sent from your browser is used by the server to id
you session object on the server, then it can access your stored
attributes.

if you want to see your session id and associating attributes you will have
to write  jsp page to print out your attributes

something like this

Enumeration en = session.getAttributeNames();
while(en.hasMoreElements){
     String name = en.nextElement();
        System.out.println(name +" has value "+
session.getAttribute(name));
}




--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to