I am storing user details in cookies which will be used when user connects to same site again.But when cookies are disabled i cannot store the details required.Is there any alternative solution for thsi problem. I mean can i store details other than in cookies or session.I want 2 read those values whe user connects 2 site again.
You can maintain session information without cookies by using url rewriting. For long term persistance, however, without cookies, you won't be able to remember users when they come back unless you ask them to log in with a username and password.
There really is no code to show. You turn off cookie support on the server (or, alternatively, in the browser) and if the web app now requests a session -and you have encoded all URLs in the HTML code you generate by using HttpServletResponse.encodeURL- then you should see the session IDs as part of all URLs in the HTML.
I mean can i store details other than in cookies or session.I want 2 read those values whe user connects 2 site again.
For tracking requests from the same client, there are couple of other ways other than the usual cookie way that you can use. But about the exact problem that you have asked , that is storing in client some information other than by using cookies , I do not think you can do so. Please do not take my question as hijack. Do not you feel that there is a good risk by giving someone the ability to write to your disk remotely?