20 Jul
2026
20 Jul
'26
4:17 p.m.
Hi Alan,
In post-auth, save the User-Name information in a database, keyed by Acct-Session-Id. Then, update the "accounting" section to retrieve the User-Name from a database, keyed by Acct-Session-ID. I tried to do that using the cache module. I set
key = "%{Acct-Session-Id}" in the module config and then called post-auth { cache } in inner-tunnel, but that way, Acct-Session-Id expands to an empty string. Do you happen to have an example somewhere of how to use the cache module for such a short-term storage? Thanks, Nik