[Twisted-Python] twisted.web session expiry

Sebastian Schulze flashbuster at gmail.com
Fri Aug 22 11:30:17 EDT 2008


I don't see how this would work, as HTTP is a stateless protocol.
Should by possible with AJAX, though (so, athena.livepage may be your
friend).

2008/8/22 Daniel Browne <grimsqueaker13 at gmail.com>

> I need someone to help me with twisted.web.
>
> How can I do something (eg. redirect) once a users session has expired? At
> the point when the session expires your request is finished and your session
> is expired. I have added the notification callback but I can't really do
> anything inside it without a session to store information in or a request to
> redirect with, so I just print a message to the console.
>
> Can anyone help me understand what I'm doing wrong here?
>
> Thanks
> Daniel Browne
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20080822/1486d0f0/attachment.htm 


More information about the Twisted-Python mailing list