Question: are static variables shared between sessions?
Answer: Hi, the static varibale will be shared beetween all the sessions! So in your case you can't save the id in the static variable.