posted 21 years ago
Hi,
HttpSession Interface is for storing some client related information in the server so that the information could be accessed accross all the pages used up by that client.This will not stop the <cookie> getting created.By default when u request a webpage for the first time,ur webserver generates a <cookie> and is appended to the response header and send back to the client.In the client side if the <cookie> option is on then the cookie is stored and sent in request header for the next request by the same client.If u have some information that needs to be shared accross pages then session objects are used.<Cookies> live on the client whereas ur session objects are stored on the server.For the server to identify if its the same client <cookies> are passes to and for between client and server.
Cheers
Geeta