you're mostly right. But when server load is too high, it is too expensive
to store everything in session object. It may be better to store noncritical
state data in hidden fields, so users can contribute to the situation :)

> -----Original Message-----
> From: Bernard Granier [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 10, 2001 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to maintain state?
>
>
> And maybe a less good one : the size of the html will be
> bigger and the
> download time
> will be higher.
>
> And it could be used to stored data form one page to another
> not on all the
> session.
>
> Sincerly,
>
> Bernard Granier
> Mr Ted
> 115 rue du Fbg Poissonniere
> 75009 Paris
> www.MrTed.com
> Tel : 33 1 55 31 02 65
> mail : [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Savas
> Alparslan (Garanti
> Teknoloji)
> Sent: jeudi 10 mai 2001 14:32
> To: [EMAIL PROTECTED]
> Subject: Re: how to maintain state?
>
>
> you can also store it in hidden fields, like
>
> <INPUT type=hidden name=hidayet value="<%=username%>">
>
> this is just an alternative to session object of course :)
>
> > -----Original Message-----
> > From: Namitha Pai N [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 10, 2001 2:45 PM
> > To: [EMAIL PROTECTED]
> > Subject: how to maintain state?
> >
> >
> > what is the best method to maintain state in jsp pages?? I
> > actually need
> > to get the userinfo in the logon page and use it in
> subsequent pages.
> >
> > Regards,
> > Namitha Pai
> >
> > ==============================================================
> > =============
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set
> > JSP-INTEREST DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to