[Twisted-web] Accessing ISession from formless autocallable
andrea at cpushare.com
Wed Dec 15 04:30:48 MST 2004
On Wed, Dec 15, 2004 at 01:03:51AM -0800, Michael Wilson wrote:
> An autocall gets (self, request...), but not context. If I want to set
> session variables (as discussed in the previous exchange), how can I
> do it without ctx?
add ctx = annotate.Context() as parameter, as far as I can tell request is
superflous since you can get to the request through
inevow.IRequest(context), not sure why it's possible to return a request
too and not only a context.
More information about the Twisted-web