有人可以建议如何根据按钮点击(重新加载同一页面)重新使用现有会话进行Web URL(创建的MSTR网页)刷新?
在单击链接以供用户登录时,会根据用户登录名创建会话。
http://localhost/microstategy/asp/main.aspx?Pg=custompage
Currently with every refresh from button click new user connection is created. I would like to re-use the same session instead if creating new ones.
session1.setServerName("WebServer1");}
session1.setServerPort(34952);
session1.setAuthMode(EnumDSSXMLAuthModes.DssXmlAuthStandard); session1.setProjectName("Project Name");
factory.getClusterAdmin().setKeepAlive(true);
sessionState1=session1.saveState(0);