Hi all ;
I have a sessioning problem with JSP :

In logon.jsp  I defined a bean like :

<jsp:useBean id="logon_id" class="oracle.jsp.jml.JmlString" scope="session"
>
     <jsp:setProperty name="logon_id" property="value" param="logon_id" />
</jsp:useBean>

and set  logon_id value as session value.

In other .jsp pages we redefine logon_id same as above and use its value
which is set at logon page.
This method works well when running all jsp files with signle user.

Our problem arises  when I deploy the project to ApacheJserv and call the
logon.jsp from diffrent clients
The logon_id's value is  set to  "1"  when first user  launches logon.jsp
and all other .jsp files uses this value until
second user  runs logon.jsp and sets logon_id  to "2" .   then in both
users  all .jsp 's get logon_id as "2".

Our problem is either we are making a serious mistake in defining session
values or there is a trouble in ApacleJServs configuration.

So Could you please send us a samle code or documentation  which clarifies
defining usage of session and application variables .

Thanks for your attention

===========================================================================
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