Hi,
I created one web page in
jsp.
In that i want to keep track of the username entered in the login page.
i tried with the following code but it's not working after 3 r more pages
i want to keep track till the user logout.
the code is used is
String name=request.getParameter("username");
session.setAttribute("usernamesession",name);
and in the next page i retrieved
lik this
out.println(session.getAttribute("usernamesession"));
Its working fine in for 3 pages after that it s displaying null value.
can anyone tell me how to keeptrack of the username until the user logout
thanx a lot