Create a hybrid then, which would delegate to the PerRequest or PerThread if the HttpContext.Current exists or not.
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Craig Neuwirt
Sent: Friday, July 14, 2006 6:16 PMSubject: Re: [Castle-users] LifeStyle for an HttpRequest
I agree. I would like to create a LifestyleManager that functions as a PerWebRequest
in a Web environment and a PerLogicalRequest in a non-web environment. In affect,
a LogicalCallRequestLifeStyleManager. I wonder if it is correct to use HttpContext if
available, otherwise use the CallContext. The true details of the latter still eludes me.
On 7/14/06, hammett <[EMAIL PROTECTED]> wrote:
You may add, but I'd say that you do not create a new enum option for
it, as it works only on web environments and we have to protect the
users from themselves :-D
On 7/14/06, Craig Neuwirt < [EMAIL PROTECTED]> wrote:
> Perfect. Any reason it is not in the Castle core?
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
