开发者

Session in OC4J (9.0.4.1) and OC4J (10.1.3.1)

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜