Jsp with database handling
- how to create sessions in jsp
- how to create session in jsp
- how to create session in jsp and servlet
- jsp session example
How to get session attribute in javascript
Session jsp servlet...
JSP - Session Tracking
In this chapter, we will discuss session tracking in JSP. HTTP is a "stateless" protocol which means each time a client retrieves a Webpage, the client opens a separate connection to the Web server and the server automatically does not keep any record of previous client request.
Maintaining Session Between Web Client And Server
Let us now discuss a few options to maintain the session between the Web Client and the Web Server −
It is not recommended to use this procedure to maintain the sessions.
Hidden Form Fields
A web server can send a hidden HTML form field along with a unique session ID as follows −
<input type = "hidden" name = "sessionid" value = "12345">This entry means that, when the form is submitted, the specified name and value are automatically included in the GET or the POST data.
Each time the web browser sends the request back, the session_id value can be used to keep the track of different web browsers.
This can be an effective way of keeping track of the session but clicking on a regular (<A HREF...
- how to create new session in jsp
- how to create session in java