You can create a global Hashmap variable and store any information for each session or to share any information on each request. Unfortunately, we don't have the possibility to create listeners on Jetty server and it will be good idea to add on the next version of B4x. Be careful, the variables need to be thread safe, because each handler is running on different thread and you cannot modify on the same time a common global variable.