ProtoExtended session uses bad construct
ProtoExtendedSession uses LoanWrapper to check for the cookie availability. This is a mis-use of LoanWrapper (which should only be used for allocating/deallocating resources during a request.
Add LiftRules.earlyInStateful and LiftRules.earlyInStateless which are sets of functions executed early in the stateful or stateless request cycle (after the loan wrappers have been allocated) to allow for handling certain cases early in the cycle.
Update ProtoExtendedSession to use the new mechanism.
Add LiftRules.earlyInStateful and LiftRules.earlyInStateless which are sets of functions executed early in the stateful or stateless request cycle (after the loan wrappers have been allocated) to allow for handling certain cases early in the cycle.
Update ProtoExtendedSession to use the new mechanism.
Leave a comment