It is dificult to understand your issue. If you don't put usename and password into cookies, the browsers have no way to remember them.
I don't want browser remembering user name and password. What should I do? ( I am writing Java Servlet code ).