Recommendations on handling user session data?

Exactly.
It even works, I get the postgres data and show the graphics, the problem is that it doesn’t update.

I just want to pull data from the Postgres database, if possible it updates the charts and tables from time to time.

I’ve been trying to do it for 2 months and I haven’t found anything that I can understand, so if you or someone in our community made a minimal example with a table only I would take it as a basis for mine.

I would be very grateful if you help us because here we don’t have examples of this problem I’m experiencing.