When you store something in session object some information is also written
to cockie in the browser to identify
the browser if your browser does not except cookie or you kill the browser
the information is lost try to do url encoding using
encodeUrl() thing of HttpServletResponse Object

GoodLuck
----- Original Message -----
From: Babar Bhutta <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 1999 3:43 PM
Subject: Lost Sessions


> Hi,
>     I am using IBM Websphere on Windows NT environment. I am using
Servlets,
> bean and JSP architecture. I am using the following method to save my bean
> in a session:
> session.putValue("selectedCustomer", customerDataBean);
> And I retrieve my bean from the session by using the following method:
> CustomerInfo customerDataBean =
> (CustomerInfo)session.getValue("selectedCustomer");// where CustomerInfo
is
> the type of bean and
> Sometimes I try to save my session but I never finds it in my next
Servlet,
> but sometimes it works fine.
> Does anybody know what is the problem and how I can solve it? I thought of
> saving session Id in a cookie but I dont know how I will use it to
retrieve
> my session!
>
> Thank you,
> Babar Bhutta.
>
>
___________________________________________________________________________
> 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

Reply via email to