<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - 관리자 로그인이 안됩니다.]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=3617</link>
		<description><![CDATA[관리자 로그인이 안됩니다. 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Tue, 14 Aug 2007 05:13:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: 관리자 로그인이 안됩니다.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=20240#p20240</link>
			<description><![CDATA[<p>session.use_trans_sid 환경변수가 구 브라우저(쿠키가 안되는) 세션을 위해 url에 ?TSSESSION=XXXXX값을 붙여주는 역활인것 같습니다. cafe24의 옛날 php(4.4.1)에서는 ini_set(&#039;session.use_trans_sid&#039;, &#039;0&#039;); 게 안먹히는 지. 문제가 생겼구요.</p><p>암튼 그래도 사용을 위해 다음과 같이 수정했습니다. 이 비슷한 구문들은 자칫 무한 반복의 위험이 있는 것 같습니다.</p><div class="codebox"><pre><code>file : /blog/owner/index.php
$url = rtrim(isset($_SERVER[&#039;REQUEST_URI&#039;]) ? $_SERVER[&#039;REQUEST_URI&#039;] : $_SERVER[&#039;SCRIPT_NAME&#039;], &#039;/&#039;);
$url = preg_replace(&#039;/\?[\w\&amp;=]+/&#039;, &#039;&#039;, $url);
header(&quot;Location: $url/center/dashboard&quot;);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (엽기민원)]]></author>
			<pubDate>Tue, 14 Aug 2007 05:13:33 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=20240#p20240</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 관리자 로그인이 안됩니다.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=20160#p20160</link>
			<description><![CDATA[<p>제가 4.4.6인데 보고하신 문제는 발생하지 않는군요. 더 내려가야 할 듯...</p>]]></description>
			<author><![CDATA[null@example.com (graphittie)]]></author>
			<pubDate>Mon, 13 Aug 2007 08:45:46 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=20160#p20160</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 관리자 로그인이 안됩니다.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=20156#p20156</link>
			<description><![CDATA[<p>그러니깐....낮은 PHP버젼에서는 세션을 첫 url에 붙이게 되는 것 같습니다.</p><p>php 5 버젼에서는 그런게 없더군요.</p><p>처음만 그런거죠. 그다음부터는 세션이 만들어지니깐, 필요없고요. </p><p><a href="http://www.phpschool.com/classroom/session/index.html">http://www.phpschool.com/classroom/session/index.html</a> </p><div class="quotebox"><blockquote><p>Session ID Propagation (세션 ID 전달)</p><p>PHP4 세션은 세션ID 전달을 위해 아래의 방법들을 지원합니다.</p><p>&nbsp; &nbsp;쿠키 (디폴트) </p><p>&nbsp; &nbsp;GET/POST </p><p>&nbsp; &nbsp;직접 입력하거나 자동으로 재지정된 URL에 감춰져서</p> <br /><br /><p>쿠키는 페이지들간에 세션 ID를 주고받는 기본적인 방법입니다.</p><p>쿠키가 잘 된다면 다른 설정에 대해 걱정할 필요가 없습니다.</p><p>다른 일반적인 방법은 GET/POST로 ID를 전달하는 것입니다.</p><p>이 경우 URL은 script.php3?&lt;session-name&gt;=&lt;session-id&gt; 와 비슷한 형태가 될 것입니다. </p><p>global constant SID를 이용해 이러한 URL을 만들 수 있습니다.</p></blockquote></div><p>중간에 나오는군요. -_-</p><p>다시한번 <strong>상황이 발생하는 때는 처음 화면로딩하고 곧바로 관리자로 들어갔을때입니다.</strong></p><p>아 그리고 더 알아보니 session.use_trans_sid=On 입니다. (자동으로 세션을 링크에 달아주는 기능인듯). 근데 ini_set(&#039;session.use_trans_sid&#039;, &#039;0&#039;); 코드가 안먹히나 본가요? 좀더 알아보겠슴다. ^^</p>]]></description>
			<author><![CDATA[null@example.com (엽기민원)]]></author>
			<pubDate>Mon, 13 Aug 2007 08:27:45 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=20156#p20156</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 관리자 로그인이 안됩니다.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=20155#p20155</link>
			<description><![CDATA[<p>엽기민원 님 블로그에서 notice에서는 세션값이 붙는데 onwer에서는 세션값이 안 붙네요. (firefox for mac에서 테스트했습니다.)<br />(세션값이 왜 붙는거지;; )</p><p>제 블로그에서는 세션값이 (태터툴즈 써올 시절부터 쭈욱) 붙은 적이 없어서 테스트가 안되네요. (정상적으로 됩니다. 저도 trunk 쓰고 있습니다.)</p>]]></description>
			<author><![CDATA[null@example.com (나니)]]></author>
			<pubDate>Mon, 13 Aug 2007 08:21:02 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=20155#p20155</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 관리자 로그인이 안됩니다.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=20152#p20152</link>
			<description><![CDATA[<p>?? 잘 된다니요 ??</p><p>한 컴터에서만 안되는게 아니라 대부분 다른 컴터에서도 다 안되는데요. 윈도뿐만 아니라, osx에서도 안되네요.<br />tsession관련해서 무한 루프 도는듯 합니다.</p><p>상황이 발생하는 때는 처음 화면로딩하고 곧바로 관리자로 들어갔을때입니다.</p><p>apache_1.3.37<br />PHP Version 4.4.1</p><p>tc 버젼은 r4041<br />입니다.</p><p>흠 코드를 보니 낮은 PHP에서는 첫 session을 url에 붙이는가 본데요. 그러다 보니 다음 코드에서 ?TSESSION=XXXXXX가 owner뒤로 붙는 관계로 무한반복이 됩니다. </p><div class="codebox"><pre><code>file : /blog/owner/index.php

/// Copyright (c) 2004-2007, Needlworks / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT)
$url = rtrim(isset($_SERVER[&#039;REQUEST_URI&#039;]) ? $_SERVER[&#039;REQUEST_URI&#039;] : $_SERVER[&#039;SCRIPT_NAME&#039;], &#039;/&#039;);
header(&quot;Location: $url/center/dashboard&quot;);</code></pre></div><p>&quot;header(&quot;Location: $url/center/dashboard&quot;);&quot; 전에 낮은 php버젼을 위해 URL에서 TSESSTION 패턴을 지우도록 해야 할듯 합니다. <br />tattertools 전버전에서는 문제가 없었으니 과거 코드중에 해답이 있을 것 같기도 한데요.</p>]]></description>
			<author><![CDATA[null@example.com (엽기민원)]]></author>
			<pubDate>Mon, 13 Aug 2007 07:58:02 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=20152#p20152</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 관리자 로그인이 안됩니다.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=20145#p20145</link>
			<description><![CDATA[<p>저도 링크 방문해도 정상적으로 잘 됩니다.^^</p>]]></description>
			<author><![CDATA[null@example.com (inureyes)]]></author>
			<pubDate>Mon, 13 Aug 2007 07:20:51 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=20145#p20145</guid>
		</item>
		<item>
			<title><![CDATA[관리자 로그인이 안됩니다.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=20140#p20140</link>
			<description><![CDATA[<p>처음 접속후 관리자 화면을 클릭하면 화면이 넘어가지 않습니다.<br />호스팅은 cafe24 입니다.<br />Textcube 1.5 Release Candidate 2&nbsp; 구요.</p><p><a href="http://ddanzimovie.com">http://ddanzimovie.com</a></p><br /><p>관리자 클릭해 보시면...</p><p>다음과 같이 tsession이 링크에 붙는데, 무시무시한 링크 아마 무한 루프 같습니다.<br />시간이 없어 자세히는 안봤습니다. </p><br /><div class="codebox"><pre><code>http://ddanzimovie.com/owner?TSSESSION=55eac1b473813d62492246903da8c462/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard/center/dashboard</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (엽기민원)]]></author>
			<pubDate>Mon, 13 Aug 2007 06:15:20 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=20140#p20140</guid>
		</item>
	</channel>
</rss>
