Hello all,

 I�ve got a problem: I want to have some information about the user via
servlets. I�ve read that this could be handled with sessions or with
cookies (what is the difference?). I did this with sessions and
connected the user-information with 

        session.setAttribute(id,userData);

At this point I wrote another servlet and seted the the context with    

        private String Classpath = ...;
        getServletContext().setAttribute(Classpath, userData);

After this i tryed to display the user info to the user but it always
returns null and I think thats not what a user wants.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to