i am setting attribute in session using request.getSession().setAttribute("SELECTED_MODEL") and getting like this request.getSession().getAttribute("SELECTED_MODEL") after that i am removing from session using request.getSession().removeAttribute("SELECTED_MODEL");
even though doign like this values are still maintaining in the session
my problem in application is
i am selecting year model category [all are select boxes] and click go means it is listing products related to that category
this is fine,problem is i am doing signout and again iam loged in
at that time year model category are highlighted as previously i selected how they are maintaining i am not understand can any body help me [ October 18, 2008: Message edited by: rakesh kopperapu ]
Are you disabling client-side caching? It is hard to tell from what info you provided, but it sounds like it could be that the client is viewing the page, caching the results, so the next time you get to that page it doesn't have to make a round-trip to the server and the page displays faster. This would mean that any changes on the server-side are not seen. So make sure you add no-cache headers to all the pages you need to make sure the user sees latest data from. Google for no-cache headers to see the combination of 2 or 3 headers needed to prevent caching in most all circumstances.