I am needing to set and and retrieve a variable within this addon. For example on one page my module connects to a remote server and gets an auth code. I would then use that auth code for all subsequent requests back to that remote server.
I assumed that like in codeigniter i could just store this in a session, most likely the EE session. But everything i have tried does not store for the period of the session, just the time it is set.
Am i being a numpty? Or do i need to roll my own session setup and storage?