I have a two-tab structure, and I need to keep the active tab active when I refresh the page. I thought about doing a click function that saves the session's open tab id, but I need to send a request (ajax) from js to Session. You can do it, but I wanted to know if you have a better way to do it.