From: Gonzalo A. <gon...@gm...> - 2006-09-08 17:40:07
|
Hi, As you may have seen, I've been commiting my latest work. It has been tested (run apache with valgrind) and seems to work just fine (more tests to come during next week). Some major notes: 1) Session managment shifted from mod_c to EHTML. mod_c is linked with EHTML now (due to this 'code shift'). While this may sound weird, it makes faster ondemand loading ehtml applications (since ehtml is already loaded). This will get removed in near future, when EHTML whill be converted to an apache module (cookieless session requires an output filter to be written, and we could get the extra benefit of having session configuration in EHTML only, not in mod_c->EHTML). Session managment is divided in: 1.a) Session ID generation & validation (SessionIDDriver class) 1.b) Session storage (SessionDriver class). 1.b.I) Recoded a little bit the DefaultSessionDriver (written by Matej Urbas), and 1.b.II) wrote the DiskSessionDriver. 1.c) Session variable handling, serialization & marshalling (Session class) Session ID is now a separate class, which provides some encoding methods (urlencoded, hexencoded, base64encoded). 2) Added some convenience classes: Dictionary (map<string,string> child with serialization & marshalling) & MemBuf (for handling memory buffers). 3) Some documentation is still to be written. As usual, any flames/comments/suggestions are more than welcome. Regards, -- Gonzalo A. Arana |