Chapter 2. Applications and Sessions

IMHO provides state to HTTP served applications by creating session objects for application clients[1]. When a client makes a first request of IMHO, the server generates a random session identifier which becomes part of the URL for all session-sensitive components of the application. AN IMHO URL tends to look like the following:

Example 2-1. An IMHO URL

http://rapunzel.onshore.com/apps/application-1/chkjdiuwefhkjchvs/C1000/display?001 http://[host]/[adapter]/[application]/[session]/[component]/[method]?[arg1]@... [argn]

All intra-application links .. part of their URLS is a session key, a random identifier that it used for looking up the session into which the link refers, what URL is requested.

Notes

[1]

At present, IMHO ensures that there is a session for all clients. Session creation really ought to be optional, and take place at the point a 'session' is really needed.