I wrote a very simple JSP file in order to check the 开发者_运维知识库Session in OC4J (9.0.4.1) and OC4J (10.1.3.1). I found that:
- [OC4J 10.1.3.1] Session keeps changing when web page is REFRESHED
- [OC4J 9.0.4.1] Session is maintained even web page is REFRESHED
Anyone has clue to solve this issue ?
The source codes are as follows:
Session ID is <%=session.getId()%>
In v10 Can you check the value of the shared
attribute in <web-app>
tag in your default-web-site.xml or *-web-site.xml
<web-app application="myApp" name="myWebApp" root="/myApp/" shared="true" />
The default is false. Does it return same sessionID when set to true?
精彩评论