Splunk Dev

persist settings per logged in user in a controller

dominiquevocat
SplunkTrust
SplunkTrust

I would like to persist a few variables per user for usage in a controller

I tried to add a key to the cherrypy.session['user'] but this seems to be forked every time

Is there a way to add something to the user session via python? What object should i use? Or do i need to maintain a file for persistance (with all associated problems)?

0 Karma
1 Solution

dominiquevocat
SplunkTrust
SplunkTrust

I ended up keeping it on the javascript side (browser) and passing it to the controller - example: https://splunkbase.splunk.com/app/3573/

View solution in original post

0 Karma

dominiquevocat
SplunkTrust
SplunkTrust

I ended up keeping it on the javascript side (browser) and passing it to the controller - example: https://splunkbase.splunk.com/app/3573/

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...