Cookies:
You can use HTTP cookies to store information. Cookies will be
stored at browser side.
URL rewriting:
With this method, the information is carried through url as
request parameters. In general added parameter will be sessionid,
userid.
HttpSession:
Using HttpSession, we can store information at server side. Http
Session provides methods to handle session related information.
Hidden form fields:
By using hidden form fields we can insert information in the webpages
and these information will be sent to the server. These fields are not
visible directly to the user, but can be viewed using view source
option from the browsers. The hidden form fields are as given below:
<input type='hidden' name='siteName' value='java2novice'/>
|