Session Tracking
2016-08-23
0 0 0
no vote
Other
Earn points
Using sessions in servlets is straightforward and involves four basic steps. Here is a summary:
- Accessing the session object associated with the current request. Call request.getSession to get an HttpSession object, which is a simple hash table for storing user-specific data.
- Looking up information associated with a session. Call getAttribute on the HttpSession object, cast the return value to the appropriate type, and check whether the result is null.
- Storing information in a session. Use setAttribute with a key and a value.
- Discarding session data. Call removeAttribute to discard a specific value. Call invalidate to discard an entire session. Call
logout to log the client out of the Web server
跟踪
会话
Related Source Codes
The finest non gaussian beam 635nm red line laser
0
0
no vote
PCDMIS_ to_ Form_ v1.02
0
0
no vote
mm2222
0
0
no vote
Php family online accounting and financial managem
0
0
no vote
The source code of the adaptive version of the agg
0
0
no vote
No comment