> Marju wrote: > I want to track a session of an input a user enter in my jsp page.The jsp page >is using a bean to execute sql queries.That works wel. > > My question is it advisable to track the session in the jsp page or in the >Bean.Which is better
I am not sure I follow you here. There is a session object you can get from the request that makes it possible tostore data through several request in the same session. request.getSession().setAttribute("akey", anObject) to set session attributes. request.getSession().getAttribute("akey") to get attributes. If you have users that log in and out you probably should set some user identifying info in the session and a filter to makes sure that the user is logged in for certain requests. Regards, Fredrik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]