Hi Ian,

I noticed recently that the transaction object (and by proxy the session
object) aren't involved in the awake-respond-sleep cycle anymore, as a
result of the restructuring you did a few months back. 

I'm just wondering if this was an intentional change or an oversight.  At very
least the session needs to participate in the cycle so that its
_lastAccessTime attribute gets updated (or else this needs to be
restructured so that it works differently).

If this was an oversight, I think Servlet.runTransaction() could simply do:

try:
    trans.awake()
    trans.respond()
finally:
    trans.sleep()
    
instead of 

    try:
        self.awake(trans)
        self.respond(trans)
    finally:
        self.sleep(trans)

A few other things in Application would need to be adjusted too.  I'm happy
to do this, just want to make sure I'm not missing something...

peace,
Jason



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to