<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "[v2.1.7-dev] jforum.page在session timeout時會出現404錯誤"]]></title>
		<link>http://www.andowson.com/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "[v2.1.7-dev] jforum.page在session timeout時會出現404錯誤"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[v2.1.7-dev] jforum.page在session timeout時會出現404錯誤</title>
				<description><![CDATA[ 如果張貼文章時用了比較久的時間，JForum會要求重新登入，然後就會出現404的錯誤。<br /> <br /> 查了一下WEB-INF/web.xml發現預設為10分鐘，我想對於需要花時間構思內容的討論區網站來說是不夠的，調回預設值30分鐘應該是一個比較安全的值。<br /> <br /> &lt;session-config&gt;<br />     &lt;session-timeout&gt;30&lt;/session-timeout&gt;<br /> &lt;/session-config&gt;]]></description>
				<guid isPermaLink="true">http://www.andowson.com/posts/preList/32/36.page</guid>
				<link>http://www.andowson.com/posts/preList/32/36.page</link>
				<pubDate><![CDATA[Sun, 21 Jan 2007 20:51:00]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
			<item>
				<title>回覆:[v2.1.7-dev] jforum.page在session timeout時會出現404錯誤</title>
				<description><![CDATA[ 我觉得这是个bug，对于session失效来说，服务端完全可以捕获，设定为30分钟只是临时解决方案，但对于产品级的软件来说，session timeout应该提示用户重新登陆，而不应该是404。其实解决这个问题的方法也是很简单的，就看有没有心去做了。]]></description>
				<guid isPermaLink="true">http://www.andowson.com/posts/preList/32/45.page</guid>
				<link>http://www.andowson.com/posts/preList/32/45.page</link>
				<pubDate><![CDATA[Mon, 29 Jan 2007 11:40:39]]> GMT</pubDate>
				<author><![CDATA[ aeonsun]]></author>
			</item>
			<item>
				<title>回覆:[v2.1.7-dev] jforum.page在session timeout時會出現404錯誤</title>
				<description><![CDATA[ 最近覺得這個問題應該跟Tomcat版本及部署方式有關，由於Tomcat 5.5.16之後每個目錄會被自動視為一個webapp，當我們把JForum安裝在網站的根目錄ROOT時，例如http://jforum.yourcompany.com/，而非http://www.yourcompany.com/jforum時，原來JForum預設是把ping_session.jsp放在templates下，對Tomcat來說templates變成一個獨立的webapp，它的session跟根目錄ROOT這個webapp是獨立的，於是就會造成發表文章時根目錄session timeout。<br /> 目前我的解法是把ping_session.jsp搬到根目錄下，然後修改templates/default/bottom.htm，改成：<br /> [code]<br /> &lt;iframe src="${contextPath}/ping_session.jsp" height="0" width="0" <br /> frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;<br /> [/code]<br /> 重新載入JForum之後，放了半小時沒遇到session timeout問題。]]></description>
				<guid isPermaLink="true">http://www.andowson.com/posts/preList/32/168.page</guid>
				<link>http://www.andowson.com/posts/preList/32/168.page</link>
				<pubDate><![CDATA[Sat, 7 Jul 2007 12:00:18]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>
