durusmail: quixote-users: SQL-based session persistence techniques.
SQL-based session persistence techniques.
2004-02-22
2004-02-29
2004-03-01
2004-03-05
2004-03-18
SQL-based session persistence techniques.
Neil Schemenauer
2004-03-05
On Fri, Mar 05, 2004 at 12:04:53AM -0800, Titus Brown wrote:
> As it turns out -- maybe not ;).
>
> The only time a real 'request' object is available is when the session is
> being created as a direct result of a Web access.  This means that unless
> you use Object Magic (tm) to create the object from a database *without*
> going through the __init__ function, you're stuck with creating a fake
> 'request' object that mimics the get_environ function.

You munched the part where I suggested to use a new-style class and
__new__.  That is a natural mechanism to unserialize an object, IMO.

  Neil


reply