Progress

Spent hours on a bug where setActiveOrganization() silently didn't switch the org cookie just wouldn't propagate on Cloudflare Workers + Hono.

By Prajyot Mane

Fix was writing directly to the session row in the DB, then forcing a full page reload instead of a router navigation. Client-side routing was serving a stale cookie cache

Reactions
0
Comments
1
Shares
0

Public discussion

Uriel Bitton

caching really is the hardest part of engineering

Browse more founder updates