vqServer Sessions
Sessions are a means of providing stateful connections between clients and servers (the HTTP protocol used for communication between web servers and web browsers is stateless). In brief, a servlet invoked by a client can initiate a session, which is stored on the server. The server sends a cookie to the client. The cookie identifies the client in subsequent HTTP requests. Servlets invoked by the client can store and retrieve data from the session. A more detailed overview of the session mechanism, a tutorial and information about the session API can be found in JavaSoft's online servlet documentation. The SessionDemo servlet distributed with vqServer illustrates some features of sessions. Follow the link from the sample home page to try it out. The source code for SessionDemo is in the file website/servlets/vq/demos/SessionDemo.java. vqServer implements the sessions API defined in version 2.0 of JavaSoft's servlet API. vqServer's session support requires the directory vq/server/sessions/ to be present in your website/ directory |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Session tracking pageThis page is displayed by clicking on the Sessions option in the control centre menu. It contains a form which controls vqServer's sessions facility.
vqServer version 1.9. Copyright © 1997-2000 Steve Shering and vqSoft. Last updated 30 March 1999. |
![]() ![]() ![]() ![]() ![]() ![]() |