style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"> >Kara R. Krogh �������������������������o unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".size=2>-----Original Message----->
From: Mike McElligott [ href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED] ]
Sent: > Tuesday, August 03, 1999 5:42 PM
To: 'Derek Conniffe'; href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]
Su bject: > RE: Problems with Session HandlingDerek,
>Are you using the same browser?� Multiple instances of > the same browser are in the same session..� Different browsers, however, > would not be..
>-----Original Message-----
>
From: Derek > Conniffe [ href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]]
size=2>Sent: Tuesday, August 03, 1999 9:18 AM
To: href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] size=2>Subject: Problems with Session Handling>
Hi,
>I started using JSP & Beans with the development www > server (with the JSP
>
development kit).� Beans were > used in the pages with scope="session".� I had
size=2>a problem at that time with all browers sharing the same bean > information.I have now moved to Apache, JSERV & Gnu-jsp & have the > same problem.
>Is it up to me & the Bean coding to handle sessions?� > I have simply been
>
hoping that the whole JSP thing > magically handles multiple [unique]
instances of beans > with unique internal private variables.Thanks for any help on this!
>Derek :)
>size=2>======================================================================= ====
size=2>To unsubscribe, send email to href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] and include in > the body
of the message "signoff > JSP-INTEREST".� For general help, send email to
size=2>[EMAIL PROTECTED] and > include in the body of the message >"help".
Title: RE: Problems with Session Handling
This is how we defined our user Account bean -- it inherits from a UserAccount
class. It will contain user ssn, name, etc for multiple users. When we had
the code scope=session, the bean would be empty when we called another jsp and
tried to reference the bean. When we changed scope=session to
lifespan=session, we had no problems referencing the bean. I'm not sure if
this has anything to do with your problem.
<%@ page language="java" import="CUFBusiness.*" %>
<%@ errorpage="error.html" %>
caucho.com also has many jsp examples that may be helpful. This is where we
found the lifespan tag.
>===== Original Message From Derek Conniffe <[EMAIL PROTECTED]> =====
>
>
>
>
No, I
originally
>I thought the problem was because the computers (with the browsers) I was
>testing with are all behind a proxy server sharing the same IP address (the
>Apache/J_Serv/Gnu-jsp server is outsite the firewall on its own IP
>address).� I have since tested with other computers within our class C
>subnet - all their own IP's.
>�
>I am using as
>little JSP code as possible�- All the major code is in beans used by the
>JSP pages - in all cases scope="session".
>�
>All browsers
>viewing the JSP pages seem to share the one session.�
>�
>I'm not doing
any
>kind of work to handle sessions - I kinda hoped that JSP would do that for
>me.
>�
>size=2>Thanks,
>�
>Derek
>:)
>- Problems with Session Handling Derek Conniffe
- Re: Problems with Session Handling Derek Conniffe
- Re: Problems with Session Handling krk661s
- Re: Problems with Session Handling Kevin Jones
- Re: Problems with Session Handling Derek Conniffe
- Oracle 8i (8.1.5) Rick Nguyen
