> I also don't entirely understand this: > > def pop_next(self): > next = current.session._auth_next > if next and next.startswith(URL()): > next = current.session._auth_next = None > return next > > The startswith test: are we simply saying that if the startswith test is met, > then we're already at the destination, so don't redirect?
I guess it go both ways. I am worried the new session mechanism may break when multiple windows are open, or when IFRAME and LOAD are used. I may have to revert this.

