flex session管理

  ----web.xml
 <!-- Session超时处理 -->
 <session-config>
  <session-timeout>-1</session-timeout>
 </session-config>
 <listener>
  <listener-class>com.soft.bi.pms.listener.SessionListener</listener-class>
 </listener>
 
 <filter>
  <description>
  </description>
  <display-name>openSessionInViewFilter</display-name>
  <filter-name>openSessionInViewFilter</filter-name>
  <filter-class>com.soft.bi.pms.orm.support.PmsOpenSessionInViewFilter</filter-class>
 </filter>
 <filter-mapping>
  <filter-name>openSessionInViewFilter</filter-name>
  <url-pattern>/*</url-pattern>
 </filter-mapping>
 
 <welcome-file-list>
  <welcome-file>Dashboard.html</welcome-file>
 </welcome-file-list>
 
 <filter>
  <description>
  </description>
  <display-name>SessionFilter</display-name>
  <filter-name>SessionFilter</filter-name>
  <filter-class>com.soft.bi.pms.utils.web.filter.SessionFilter</filter-class>
 </filter>
 <filter-mapping>
  <filter-name>SessionFilter</filter-name>
  <url-pattern>/*</url-pattern>
 </filter-mapping>
阅读更多
文章标签: session flex
个人分类: flex
上一篇flex Module学习(3)
下一篇session监听
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭