"Sri V. Rachakonda" wrote:
> Let's say Jswdk sample startserver application
>
The usual way to save and share information in servlet/JSP based applications is
to use the session management support provided by your servlet container. The
container sends a single cookie containing the session ID, and you can store
anything you need as session attributes for that user.
There are many tutorials, articles, and books available that describe how
sessions work. One place to start is the Servlet Trail of the Java Language
Tutorial (http://java.sun.com/docs/books/tutorial).
Craig McClanahan
>
> -----Original Message-----
> From: Nathan Hoover [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 01, 2000 12:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Session problem. Help appreciated
>
> What web server are you using?
>
> N
>
> At 11:43 AM 6/1/2000 -0400, you wrote:
> >HI all,
> >
> >We're running a servlet which takes some values from the user. We need
> >these names to be shared among the other servlets i.e. basically sharing
> >session data.
> >I've created a Cookie object in the above servlet and I was able to
> >display the cookie names/values with another servlet.
> >But, here is the problem
> >1. In order to differenciate data, I need to set the following info. in
> >the cookie.
> > id, Actual value, Assigned value.
> > If I've 100 Actual values with 20 integers each and same for Assigned
> > values, Is there any limitation with cookies size?
> >2. How do other applications share the data?
> >3. If above idea seems silly, what is the best alternative, how about URL
> >passing?
> >
> >Sri
> >
> >___________________________________________________________________________
> >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
>
> ___________________________________________________________________________
> 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
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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