Hi
 I have an object that has several hash tables within it.
i create the object like so

public void init(ServletConfig conf) throws ServletException {
         super.init(conf);
         dbase = new dBaseObject(url);
        }

I have some hash tables inside it like so
dbase.tableRows

If I have more than one new connection /session the dbase.tableRows hash
values ,get written over by the
previous session.

I understand that basiclly need to .putValue of the object into the
individual session to stop this from happening.

any ideas how?
Should I remove it from the init ,check for a new session and then create
the dbase object ?
pass the object or store the object somehow.
Is there away to force each new session to have there own new dbase or
anyother new object for that matter within its own confines.

Any pointers greatly appreciated.

Thanks
Ejber Ozkan

___________________________________________________________________________
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