About the wwwob and htob (ht_obj)OverviewA session consists of 1 or more message exchanges. Sessions are restarted every midnight so unless rebooted later in day, a session spans all the messages for the day so far. A message exchange involves the client computer sending an http protocol request to the server for a web page. The server responds and completes the exchange. The client may (and often does) send a new http protocol request to initiate another exchange.The wwwob is a Python session object. It contains values which are true for the session. Further, the wwwob is cumulative. Changes to it persist from message to message across the entire session. The htob (and underlyint ht_obj) are message objects. DAIRGram defines all requests coming frm the same IPV4 (IP) address as belonging to the same session. This is inferior in some regards to more traditional cookie-based approaches. It is superior in allowing the request to proceed immediately without need to spend a message exchange initializing the cookie. wwwob
htob
Additionally, the following selected from the ht_obj are provided and have the same semantics. See the http_obj.py module for definition.
|