set_encrypt_session after access phase?

2015-06-19 Thread Vader Mader
On Thu, Jun 18, 2015 at 11:29 AM, Vader Mader wrote: > > I'm having trouble setting a cookie conditionally based upon > an upstream variable The hope is to cache an auth token in an > encrypted session and only go to the backend auth token generator once. I managed to figure o

conditionally setting a cookie help

2015-06-18 Thread Vader Mader
Hi All, I'm having trouble setting a cookie conditionally based upon an upstream variable The hope is to cache an auth token in an encrypted session and only go to the backend auth token generator once. I have something like this but it seems set-cookie happens no matter what, so I alternate betw