Bugs item #922488, was opened at 2004-03-24 10:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=922488&group_id=4866

Category: WebKit
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Aaron Switzer (warhammer_ispgn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sessions not waking up

Initial Comment:
I initially noticed that my sessions were timing out
even though they were being accessed throughout the
timeout period.  After some testing I identified the
fact that session.awake() was not being executed. 
After further investigation I realized that because
sessions are not created or retrieved until requested,
there is never a session stored in the transaction for
it to awake() during the transaction's own awake() cycle.

As a simple fix I have added
"session.awake(transaction)" in
application.createSessionForTransaction() after a
session is retrieved.  Here is the diff output for the
modified Application.py:

312d311
<                               session.awake(transaction)


- Aaron Switzer

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=922488&group_id=4866


-------------------------------------------------------
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