In this project we didn't use ASP.Net, but a custom one. There's an
interface ISessionService and an ISessionAccessor. Within a request,
we can use ISessionAccessor to get a reference to the current session
from anywhere.

But maybe the post is outdated. I created a table for this async
process later to no rely on the session. The problem with the session
is that it's updated by the request and by the async process. It's a
race condition and the request might win, removing the result from it
:-(

On 9/15/06, Craig Neuwirt <[EMAIL PROTECTED]> wrote:
> BTW, in your example. how does the session become available for dependency
> resolution?

-- 
Cheers,
hammett
http://hammett.castleproject.org/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
CastleProject-users mailing list
CastleProject-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to