I don't intend to sound mean, but maybe you will just want to read up a bit
on "cookies", what they are, what they do, and how you use them, and how
they pertain to session maintenance. And realise that there are 2 kinds of
cookies... (one saved on the client's harddrive, one just kept in memory for
the duration of your browser session.)

Cheers
J

-----Original Message-----
From: Chad Pitt [mailto:[EMAIL PROTECTED]]
Sent: 02 August 2000 09:19
To: [EMAIL PROTECTED]
Subject: Re: Session ID HELP!!


thank you for your help..
but if i use session.putValue() like you said...
then when this user keep browsing to the page
containing session bean..here is the question..
how would i know that the session.putValue()in the
very first page would be bound with the session bean
in the later page....(i mean, the same session)

thank you
Chad


--- TODD HARNEY <[EMAIL PROTECTED]> wrote: > You
can explicitly get the session object by calling
> request.getSession(true) from your JSP code, but I
> believe there is a page directive that you can set
> in your JSP page to have that code explicitly
> generated for you so that you can simply call the
> implicit session object. I also believe that the
> default is to have sessions turned on meaning that
> the session object by default is implicitly defined
> and available for use.
>
> <%@ page session="true" %>
>
> will work if that is not the default, but I believe
> it is so you should have to type nothing...just use
> your session like...
>
> <% session.putValue("userName",userName); %>
>
> >>> [EMAIL PROTECTED] 8/1/00 12:15 >>>
> Dear developers,
>
> i have a question about session scope
> say, if i have the first page for user to log in
> their
> name ..and after surfing to the other pages to buy
> the
> stuffs which have the scope of session
> so how can i make the user's name bound with the
> session object  (i use the session scope with
> useBean
> tag).  However, in the first page, i don't use the
> session Bean,
>
> do i have to explicitly write the code to create the
> session object??
> can anyone guide me to any site with the session
> tutorial please?
> thank you
> Chad
>
>
>
____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at
> http://mail.yahoo.co.uk
> or your free @yahoo.ie address at
> http://mail.yahoo.ie
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> 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".
> 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


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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