Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/entry/email_mobile.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/entry/email_mobile.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/entry/email_mobile.tpl	(revision 20328)
@@ -27,4 +27,5 @@
 <!--{assign var=key value='email_mobile'}-->
 <form method="post" action="?">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 ▼メールアドレス<br>
 <font color="#ff0000"><!--{$arrErr[$key]|default:''}--></font>
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_item.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_item.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_item.tpl	(revision 20328)
@@ -29,4 +29,5 @@
 <!--{/if}-->
 <form method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->">
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<input type="text" name="quantity" size="3" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength=<!--{$smarty.const.INT_LEN}--> istyle="4"><br>
 	<input type="hidden" name="mode" value="cart">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_find1.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_find1.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_find1.tpl	(revision 20328)
@@ -29,4 +29,5 @@
 <!--{/if}-->
 <form method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->">
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<select name="classcategory_id1">
 		<option value="">選択してください</option>
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_find2.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_find2.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/products/select_find2.tpl	(revision 20328)
@@ -29,4 +29,5 @@
 <!--{/if}-->
 <form method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->">
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<select name="classcategory_id2">
 		<option value="">選択してください</option>
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/products/detail.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/products/detail.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/products/detail.tpl	(revision 20328)
@@ -124,4 +124,6 @@
 <form name="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->">
 	<input type="hidden" name="mode" value="select">
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
 	<input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->">
 <!--{if $tpl_stock_find}-->
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/history.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/history.tpl	(revision 20325)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/history.tpl	(revision 20328)
@@ -33,4 +33,5 @@
 
 <form action="order.php" method="post">
+    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
     <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id}-->">
     <input type="submit" name="submit" value="再注文">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/change_confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/change_confirm.tpl	(revision 20147)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/change_confirm.tpl	(revision 20328)
@@ -23,4 +23,5 @@
 *}-->
 <form name="form1" id="form1" method="post" action="?">
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<input type="hidden" name="mode" value="complete">
 	<!--{foreach from=$arrForm key=key item=item}-->
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/delivery_addr.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/delivery_addr.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/delivery_addr.tpl	(revision 20328)
@@ -23,4 +23,5 @@
 *}-->
 <form name="form1" method="post" action="?">
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<input type="hidden" name="mode" value="edit">
     <input type="hidden" name="ParentPage" value="<!--{$ParentPage}-->">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/select_deliv.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/select_deliv.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/select_deliv.tpl	(revision 20328)
@@ -23,4 +23,5 @@
 *}-->
 <form method="post" action="?">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="mode" value="select_deliv">
 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/deliv.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/deliv.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/deliv.tpl	(revision 20328)
@@ -29,4 +29,5 @@
 <!--{section name=cnt loop=$arrAddr}-->
 <form method="post" action="?">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
 <input type="hidden" name="deli" value="<!--{$smarty.section.cnt.iteration}-->">
@@ -54,4 +55,5 @@
 ■新しいお届け先を追加する<br>
 <form method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="ParentPage" value="<!--{$smarty.const.DELIV_URLPATH}-->">
 <center><input type="submit" value="新規登録"></center>
@@ -62,4 +64,5 @@
 ■お届け先を複数指定する<br>
 <form method="post" action="?">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
 <input type="hidden" name="mode" value="multiple">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/index.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/index.tpl	(revision 20328)
@@ -27,4 +27,5 @@
 (新規ご登録)<br>
 <form name="member_form" id="member_form" method="post" action="<!--{$smarty.const.MOBILE_URLPATH}-->entry/kiyaku.php">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<div align="center"><input type="submit" value="新規登録"></div><br>
 </form>
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/multiple.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/multiple.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/multiple.tpl	(revision 20328)
@@ -52,4 +52,5 @@
 <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
 <form method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
     <input type="hidden" name="ParentPage" value="<!--{$smarty.const.MULTIPLE_URLPATH}-->">
     一覧にご希望の住所が無い場合は、お届け先を新規登録してください。<br>
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/confirm.tpl	(revision 20122)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/confirm.tpl	(revision 20328)
@@ -23,4 +23,5 @@
 *}-->
 <form method="post" action="?">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="mode" value="confirm">
 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
@@ -116,4 +117,5 @@
 </form>
 <form action="<!--{$smarty.const.MOBILE_SHOPPING_PAYMENT_URLPATH}-->" method="post">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="mode" value="">
 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/payment.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/payment.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/payment.tpl	(revision 20328)
@@ -23,4 +23,5 @@
 *}-->
 <form method="post" action="?">
+<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="mode" value="confirm">
 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/cart/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/cart/index.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/cart/index.tpl	(revision 20328)
@@ -39,4 +39,5 @@
 <!--{foreach from=$cartKeys item=key}-->
 <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?"  utn>
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<input type="hidden" name="mode" value="confirm">
 	<input type="hidden" name="cart_no" value="">
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/magazine/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/magazine/index.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/magazine/index.tpl	(revision 20328)
@@ -28,4 +28,5 @@
 <br>
 <form action="confirm.php" method="post">
+
 	■登録<br>
 	<font color="#FF0000"><!--{$arrErr.regist}--></font>
Index: /branches/version-2_5-dev/data/Smarty/templates/mobile/magazine/confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/mobile/magazine/confirm.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/mobile/magazine/confirm.tpl	(revision 20328)
@@ -29,4 +29,5 @@
 <br>
 <form action="confirm.php" method="post">
+  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 	<input type="hidden" name="mode" value="<!--{$arrForm.type}-->">
 	<input type="hidden" name="email" value="<!--{$arrForm.mail|h}-->">
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/login_frame.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/login_frame.tpl	(revision 20313)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/login_frame.tpl	(revision 20328)
@@ -32,4 +32,17 @@
 <script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery-1.4.2.min.js"></script>
 <title>管理機能</title>
+<script type="text/javascript">//<![CDATA[
+    <!--{$tpl_javascript}-->
+    $(function(){
+        var tx = $('<input type="hidden" />')
+            .attr('name', '<!--{$smarty.const.TRANSACTION_ID_NAME}-->')
+            .val('<!--{$transactionid}-->');
+        tx.appendTo('form');
+
+        <!--{$tpl_onload}-->
+    });
+//]]>
+</script>
+
 </head>
 
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/admin_popup_header.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/admin_popup_header.tpl	(revision 20313)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/admin_popup_header.tpl	(revision 20328)
@@ -39,4 +39,9 @@
     <!--{$tpl_javascript}-->
     $(function(){
+        var tx = $('<input type="hidden" />')
+            .attr('name', '<!--{$smarty.const.TRANSACTION_ID_NAME}-->')
+            .val('<!--{$transactionid}-->');
+        tx.appendTo('form');
+
         <!--{$tpl_onload}-->
     });
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/system/input.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/system/input.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/system/input.tpl	(revision 20328)
@@ -35,5 +35,5 @@
 <input type="hidden" name="pageno" value="<!--{$tpl_pageno|h}-->">
 <input type="hidden" name="old_login_id" value="<!--{$tpl_old_login_id|h}-->">
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid|h}-->">
+
 <h2>メンバー登録/編集</h2>
 
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/settings.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/settings.tpl	(revision 19954)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/settings.tpl	(revision 20328)
@@ -24,5 +24,5 @@
 <form name="form1" id="form1" method="post" action="?">
 <input type="hidden" name="mode" value="register" />
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
 <div id="ownersstore" class="contents-main">
 
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/log.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/log.tpl	(revision 19972)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/log.tpl	(revision 20328)
@@ -24,5 +24,5 @@
 <form name="form1" id="form1" method="post" action="?">
 <input type="hidden" name="mode" value="register" />
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
 <div id="ownersstore" class="contents-main">
 
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/log_detail.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/log_detail.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/log_detail.tpl	(revision 20328)
@@ -24,5 +24,5 @@
 <form name="form1" id="form1" method="post" action="?">
 <input type="hidden" name="mode" value="register" />
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
 <div id="ownersstore" class="contents-main">
 
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/main_frame.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/main_frame.tpl	(revision 20313)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/main_frame.tpl	(revision 20328)
@@ -47,4 +47,9 @@
     <!--{$tpl_javascript}-->
     $(function(){
+        var tx = $('<input type="hidden" />')
+            .attr('name', '<!--{$smarty.const.TRANSACTION_ID_NAME}-->')
+            .val('<!--{$transactionid}-->');
+        tx.appendTo('form');
+
         <!--{$tpl_onload}-->
     });
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/contents/csv.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/contents/csv.tpl	(revision 20318)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/contents/csv.tpl	(revision 20328)
@@ -56,5 +56,4 @@
 <form name="form1" id="form1" method="post" action="?">
 <input type="hidden" name="mode" value="confirm" />
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="tpl_subno_csv" value="<!--{$tpl_subno_csv|h}-->" />
 <div id="admin-contents" class="contents-main">
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_complete.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_complete.tpl	(revision 20285)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_complete.tpl	(revision 20328)
@@ -36,5 +36,5 @@
 <form name="search_form" method="post" action="">
     <input type="hidden" name="mode" value="search" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
     <!--{foreach from=$arrSearchData key="key" item="item"}-->
         <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}-->
@@ -52,5 +52,5 @@
 <form name="form1" id="form1" method="post" action="?">
     <input type="hidden" name="mode" value="complete_return" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
     <!-- 検索条件の保持 -->
     <!--{foreach from=$arrSearchData key="key" item="item"}-->
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_confirm.tpl	(revision 20285)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_confirm.tpl	(revision 20328)
@@ -36,5 +36,5 @@
 <form name="form1" id="form1" method="post" action="?">
     <input type="hidden" name="mode" value="complete" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
     <!--{foreach from=$arrForm key=key item=item}-->
         <!--{if $key ne "mode" && $key ne "subm" && $key ne $smarty.const.TRANSACTION_ID_NAME}-->
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit.tpl	(revision 20285)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit.tpl	(revision 20328)
@@ -44,5 +44,5 @@
 <form name="search_form" method="post" action="">
     <input type="hidden" name="mode" value="search" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
     <!--{foreach from=$arrSearchData key="key" item="item"}-->
         <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}-->
@@ -61,5 +61,4 @@
     <input type="hidden" name="mode" value="confirm" />
     <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id|h}-->" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
     <!-- 検索条件の保持 -->
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/customer/search_customer.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/customer/search_customer.tpl	(revision 20286)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/customer/search_customer.tpl	(revision 20328)
@@ -43,5 +43,4 @@
 <input name="search_pageno" type="hidden" value="">
 <input name="customer_id" type="hidden" value="">
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
 <table class="form">
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/customer/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/customer/index.tpl	(revision 20285)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/customer/index.tpl	(revision 20328)
@@ -75,5 +75,5 @@
 <form name="search_form" id="search_form" method="post" action="?">
 <input type="hidden" name="mode" value="search" />
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
   <h2>検索条件設定</h2>
 
@@ -103,5 +103,4 @@
 <form name="form1" id="form1" method="post" action="?">
 <input type="hidden" name="mode" value="search" />
-<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 <input type="hidden" name="edit_customer_id" value="" />
 <input type="hidden" name="search_pageno" value="<!--{$smarty.post.search_pageno|h}-->" />
Index: /branches/version-2_5-dev/data/Smarty/templates/admin/login.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/admin/login.tpl	(revision 20313)
+++ /branches/version-2_5-dev/data/Smarty/templates/admin/login.tpl	(revision 20328)
@@ -32,5 +32,4 @@
 				<form name="form1" id="form1" method="post" action="?">
 				<input type="hidden" name="mode" value="login" />
-				<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 				<p><label for="login_id">ID</label></p>
 				<input type="text" name="login_id" size="20" class="box25" />
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/login.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/login.tpl	(revision 20159)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/login.tpl	(revision 20328)
@@ -28,6 +28,5 @@
     <form name="login_mypage" id="login_mypage" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_mypage')">
     <input type="hidden" name="mode" value="login" />
-            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
-            <input type="hidden" name="url" value="<!--{$smarty.server.PHP_SELF|h}-->" />    
+    <input type="hidden" name="url" value="<!--{$smarty.server.PHP_SELF|h}-->" />
    <div class="loginarea">
      <h3>会員登録がお済みのお客様</h3>
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_confirm.tpl	(revision 20140)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_confirm.tpl	(revision 20328)
@@ -28,5 +28,4 @@
   <form name="form1" method="post" action="?">
   <input type="hidden" name="mode" value="complete" />
-  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
   <div id="mycontentsarea">
     <h3><!--{$tpl_subtitle|h}--></h3>
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/index.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/index.tpl	(revision 20328)
@@ -26,5 +26,4 @@
     <form name="member_form" id="member_form" method="post" action="?" onsubmit="return fnCheckLogin('member_form')">
    <div class="loginarea">
-     <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
      <h3>会員登録がお済みのお客様</h3>
      <p class="inputtext">会員の方は、登録時に入力されたメールアドレスとパスワードでログインしてください。</p>
@@ -60,5 +59,4 @@
     <form name="member_form2" id="member_form2" method="post" action="?">
       <input type="hidden" name="mode" value="nonmember" />
-      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
     <div class="loginarea">
     <h3>まだ会員登録されていないお客様</h3>
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/multiple.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/multiple.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/multiple.tpl	(revision 20328)
@@ -46,5 +46,4 @@
         <!--{/if}-->
         <form name="form1" id="form1" method="post" action="?">
-            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
             <input type="hidden" name="mode" value="confirm" />
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 20328)
@@ -29,5 +29,4 @@
       <input type="hidden" name="mode" value="nonmember_confirm" />
       <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
-      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
       <table summary="お客様情報入力">
         <tr>
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/secret.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/secret.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/secret.tpl	(revision 20328)
@@ -29,5 +29,4 @@
     <form action="?" method="post" name="form1">
       <input type="hidden" name="mode" value="secret_check" />
-      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
       <!--{foreach key=key item=item from=$arrForm}-->
         <!--{if $key ne 'reminder_answer'}-->
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/index.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/index.tpl	(revision 20328)
@@ -28,5 +28,4 @@
     <form action="?" method="post" name="form1">
       <input type="hidden" name="mode" value="mail_check" />
-      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
       <div id="completebox">
         <p>メールアドレス：&nbsp;<!--★メールアドレス入力★--><input type="text" name="email" value="<!--{$tpl_login_email|h}-->" size="40" class="box300" style="<!--{$errmsg|sfGetErrorColor}-->; ime-mode: disabled;" /><br />
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/entry/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/entry/index.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/entry/index.tpl	(revision 20328)
@@ -29,5 +29,4 @@
         <!--{/if}-->
         <form name="form1" id="form1" method="post" action="?">
-            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="mode" value="confirm" />
 
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/entry/confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/entry/confirm.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/entry/confirm.tpl	(revision 20328)
@@ -31,5 +31,4 @@
         <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
       <!--{/foreach}-->
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
       <table summary="入力内容確認">
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_confirm.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_confirm.tpl	(revision 20328)
@@ -30,5 +30,4 @@
         <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /><!--{/if}-->
         <!--{/foreach}-->
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
         <table summary="お客様の声書き込み">
Index: /branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl	(revision 20116)
+++ /branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl	(revision 20328)
@@ -32,5 +32,4 @@
         <input type="hidden" name="mode" value="confirm" />
         <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" />
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
         <table summary="お客様の声書き込み">
           <tr>
Index: /branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 20328)
@@ -25,5 +25,4 @@
         <form name="login_form" id="login_form" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_form')">
             <input type="hidden" name="mode" value="login" />
-            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="url" value="<!--{$smarty.server.PHP_SELF|h}-->" />
             <div class="bloc_body">
Index: /branches/version-2_5-dev/data/Smarty/templates/default/products/review_confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/products/review_confirm.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/products/review_confirm.tpl	(revision 20328)
@@ -30,5 +30,4 @@
         <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /><!--{/if}-->
         <!--{/foreach}-->
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
         <table summary="お客様の声書き込み">
Index: /branches/version-2_5-dev/data/Smarty/templates/default/products/review.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/products/review.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/products/review.tpl	(revision 20328)
@@ -32,5 +32,4 @@
         <input type="hidden" name="mode" value="confirm" />
         <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" />
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
         <table summary="お客様の声書き込み">
           <tr>
Index: /branches/version-2_5-dev/data/Smarty/templates/default/popup_header.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/popup_header.tpl	(revision 20313)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/popup_header.tpl	(revision 20328)
@@ -36,4 +36,9 @@
     <!--{$tpl_javascript}-->
     $(function(){
+        var tx = $('<input type="hidden" />')
+            .attr('name', '<!--{$smarty.const.TRANSACTION_ID_NAME}-->')
+            .val('<!--{$transactionid}-->');
+
+        tx.appendTo('form');
         <!--{$tpl_onload}-->
     });
Index: /branches/version-2_5-dev/data/Smarty/templates/default/site_frame.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/site_frame.tpl	(revision 20313)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/site_frame.tpl	(revision 20328)
@@ -52,4 +52,9 @@
     <!--{$tpl_javascript}-->
     $(function(){
+        var tx = $('<input type="hidden" />')
+            .attr('name', '<!--{$smarty.const.TRANSACTION_ID_NAME}-->')
+            .val('<!--{$transactionid}-->');
+        tx.appendTo('form');
+
         <!--{$tpl_onload}-->
     });
Index: /branches/version-2_5-dev/data/Smarty/templates/default/mypage/login.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/mypage/login.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/mypage/login.tpl	(revision 20328)
@@ -28,5 +28,4 @@
         <form name="login_mypage" id="login_mypage" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_mypage')">
         <input type="hidden" name="mode" value="login" />
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
         <input type="hidden" name="url" value="<!--{$smarty.server.PHP_SELF|h}-->" />
 
Index: /branches/version-2_5-dev/data/Smarty/templates/default/mypage/refusal_confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/mypage/refusal_confirm.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/mypage/refusal_confirm.tpl	(revision 20328)
@@ -28,5 +28,4 @@
   <form name="form1" method="post" action="?">
   <input type="hidden" name="mode" value="complete" />
-  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
   <div id="mycontents_area">
Index: /branches/version-2_5-dev/data/Smarty/templates/default/mypage/change.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/mypage/change.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/mypage/change.tpl	(revision 20328)
@@ -34,5 +34,4 @@
         <input type="hidden" name="mode" value="confirm" />
         <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id|h}-->" />
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
         <table summary="会員登録内容変更 " class="delivname">
             <!--{include file="`$smarty.const.TEMPLATE_REALDIR`frontparts/form_personal_input.tpl" flgFields=3 emailMobile=true prefix=""}-->
Index: /branches/version-2_5-dev/data/Smarty/templates/default/shopping/nonmember_input.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/shopping/nonmember_input.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/shopping/nonmember_input.tpl	(revision 20328)
@@ -46,5 +46,4 @@
       <input type="hidden" name="mode" value="nonmember_confirm" />
       <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
-      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
       <table summary=" ">
         <tr>
Index: /branches/version-2_5-dev/data/Smarty/templates/default/shopping/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/shopping/index.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/shopping/index.tpl	(revision 20328)
@@ -26,5 +26,4 @@
     <form name="member_form" id="member_form" method="post" action="?" onsubmit="return fnCheckLogin('member_form')">
     <input type="hidden" name="mode" value="login" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
         <div class="login_area">
@@ -92,5 +91,4 @@
             <form name="member_form2" id="member_form2" method="post" action="?">
             <input type="hidden" name="mode" value="nonmember" />
-            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <div class="inputbox">
                 <div class="btn_area">
Index: /branches/version-2_5-dev/data/Smarty/templates/default/shopping/multiple.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/shopping/multiple.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/shopping/multiple.tpl	(revision 20328)
@@ -49,5 +49,4 @@
         <!--{/if}-->
         <form name="form1" id="form1" method="post" action="?">
-            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
             <input type="hidden" name="mode" value="confirm" />
Index: /branches/version-2_5-dev/data/Smarty/templates/default/forgot/secret.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/forgot/secret.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/forgot/secret.tpl	(revision 20328)
@@ -33,5 +33,5 @@
     <form action="?" method="post" name="form1">
     <input type="hidden" name="mode" value="secret_check" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
     <!--{foreach key=key item=item from=$arrForm}-->
     <!--{if $key ne 'reminder_answer'}-->
Index: /branches/version-2_5-dev/data/Smarty/templates/default/forgot/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/forgot/index.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/forgot/index.tpl	(revision 20328)
@@ -28,5 +28,5 @@
     <form action="?" method="post" name="form1">
     <input type="hidden" name="mode" value="mail_check" />
-    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
     <div id="forgot">
         <div class="contents">
Index: /branches/version-2_5-dev/data/Smarty/templates/default/entry/index.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/entry/index.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/entry/index.tpl	(revision 20328)
@@ -29,5 +29,4 @@
         <!--{/if}-->
         <form name="form1" id="form1" method="post" action="?">
-            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="mode" value="confirm" />
 
Index: /branches/version-2_5-dev/data/Smarty/templates/default/entry/confirm.tpl
===================================================================
--- /branches/version-2_5-dev/data/Smarty/templates/default/entry/confirm.tpl	(revision 20290)
+++ /branches/version-2_5-dev/data/Smarty/templates/default/entry/confirm.tpl	(revision 20328)
@@ -31,5 +31,4 @@
         <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
       <!--{/foreach}-->
-        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
 
       <table summary="入力内容確認">
Index: /branches/version-2_5-dev/data/class/helper/SC_Helper_Session.php
===================================================================
--- /branches/version-2_5-dev/data/class/helper/SC_Helper_Session.php	(revision 20313)
+++ /branches/version-2_5-dev/data/class/helper/SC_Helper_Session.php	(revision 20328)
@@ -198,5 +198,4 @@
             $ret = true;
         }
-
         if ($is_unset) {
             unset($_SESSION[TRANSACTION_ID_NAME]);
Index: /branches/version-2_5-dev/data/class/pages/LC_Page.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/LC_Page.php	(revision 20313)
+++ /branches/version-2_5-dev/data/class/pages/LC_Page.php	(revision 20328)
@@ -100,4 +100,8 @@
         $this->objPlugin = new SC_Helper_Plugin_Ex();
         $this->objPlugin->preProcess($this);
+
+        // トランザクショントークンの検証と生成
+        $this->doValidToken();
+        $this->setTokenTo();
     }
 
@@ -108,11 +112,4 @@
      */
     function process() {}
-
-    /**
-     * Page のプロセス.(モバイル）
-     *
-     * @return void
-     */
-    function mobileProcess() {}
 
     /**
@@ -332,4 +329,42 @@
 
     /**
+     * POST アクセスの妥当性を検証する.
+     *
+     * 前画面で生成されたトランザクショントークンの妥当性を検証し,
+     * 不正な場合はエラー画面へ遷移する.
+     *
+     * この関数は, 基本的に init() 関数で呼び出され, POST アクセスの場合は自動的に
+     * トランザクショントークンを検証する.
+     * ページによって検証タイミングなどを制御する必要がある場合は, この関数を
+     * オーバーライドし, 個別に設定を行うこと.
+     *
+     * @access protected
+     * @param boolean $is_admin 管理画面でエラー表示をする場合 true
+     * @return void
+     */
+    function doValidToken($is_admin = false) {
+        if ($_SERVER["REQUEST_METHOD"] == "POST") {
+            if (!SC_Helper_Session_Ex::isValidToken()) {
+                if ($is_admin) {
+                    SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
+                } else {
+                    SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
+                }
+                exit;
+            }
+        }
+    }
+
+    /**
+     * トランザクショントークンを取得し, 設定する.
+     *
+     * @access protected
+     * @return void
+     */
+    function setTokenTo() {
+        $this->transactionid = SC_Helper_Session_Ex::getToken();
+    }
+
+    /**
      * デバック出力を行う.
      *
Index: /branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php	(revision 20162)
+++ /branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php	(revision 20328)
@@ -71,8 +71,4 @@
 
         case 'complete':
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
-            }
-
             $objCustomer = new SC_Customer();
             $this->lfDeleteCustomer($objCustomer->getValue('customer_id'));
@@ -80,6 +76,4 @@
             SC_Response_Ex::sendRedirect('refusal_complete.php');
         }
-        // mobileは確認画面がない
-        $this->transactionid    = SC_Helper_Session_Ex::getToken();
     }
 
Index: /branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php	(revision 20116)
+++ /branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php	(revision 20328)
@@ -79,11 +79,4 @@
         $objFormParam->setParam($_POST);
         $objPurchase->verifyChangeCart($this->tpl_uniqid, $objCartSess);
-
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
-                exit;
-            }
-        }
 
         switch ($this->getMode()) {
@@ -104,5 +97,4 @@
 
         $this->arrForm = $objFormParam->getFormParamList();
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
     }
 
Index: /branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping.php	(revision 20174)
+++ /branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping.php	(revision 20328)
@@ -106,11 +106,4 @@
         }
 
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
-                exit;
-            }
-        }
-
         switch ($this->getMode()) {
         // ログイン実行
@@ -228,6 +221,4 @@
         // 入力値の取得
         $this->arrForm = $objFormParam->getFormParamList();
-
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
 
         // 携帯端末IDが一致する会員が存在するかどうかをチェックする。
Index: /branches/version-2_5-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php	(revision 20296)
+++ /branches/version-2_5-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php	(revision 20328)
@@ -130,4 +130,17 @@
     }
 
+    /**
+     * トランザクショントークンを unset しないようオーバーライド.
+     *
+     * @return void
+     */
+    function doValidToken() {
+        if ($_SERVER["REQUEST_METHOD"] == "POST") {
+            if (!SC_Helper_Session_Ex::isValidToken(false)) {
+                //                SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
+            }
+        }
+    }
+
      /**
      * パラメータの初期化を行う
Index: /branches/version-2_5-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_CSV.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_CSV.php	(revision 20318)
+++ /branches/version-2_5-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_CSV.php	(revision 20328)
@@ -75,13 +75,4 @@
         // 認証可否の判定
         SC_Utils_Ex::sfIsSuccess(new SC_Session());
-
-        // 不正アクセスチェック 
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
-            }
-        }
-        // トランザクションID
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
 
         // パラメータ管理クラス
Index: /branches/version-2_5-dev/data/class/pages/admin/LC_Page_Admin_Index.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/LC_Page_Admin_Index.php	(revision 20313)
+++ /branches/version-2_5-dev/data/class/pages/admin/LC_Page_Admin_Index.php	(revision 20328)
@@ -73,10 +73,4 @@
      */
     function action() {
-        // 不正アクセスチェック 
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispError(LOGIN_ERROR);
-            }
-        }
         // パラメータ管理クラス
         $objFormParam = new SC_FormParam();
@@ -98,6 +92,5 @@
             break;
         }
-        // トランザクションID
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
+
         // 管理者ログインテンプレートフレームの設定
         $this->setTemplate(LOGIN_FRAME);
Index: /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_SearchCustomer.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_SearchCustomer.php	(revision 20286)
+++ /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_SearchCustomer.php	(revision 20328)
@@ -68,13 +68,4 @@
         SC_Utils_Ex::sfIsSuccess(new SC_Session());
 
-        // 不正アクセスチェック 
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
-            }
-        }
-        // トランザクションID
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
-
         // パラメータ管理クラス
         $objFormParam = new SC_FormParam();
Index: /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer.php	(revision 20285)
+++ /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer.php	(revision 20328)
@@ -92,14 +92,4 @@
         // 認証可否の判定
         SC_Utils_Ex::sfIsSuccess(new SC_Session());
-
-        // 不正アクセスチェック 
-        // FIXME: nanasessさんが作り変えて共通化しているようなので暫定で isValidToken(false)
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken(false)) {
-                SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
-            }
-        }
-        // トランザクションID
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
 
         // パラメータ管理クラス
@@ -155,4 +145,17 @@
 
     /**
+     * トランザクショントークンを unset しないようオーバーライド.
+     *
+     * @return void
+     */
+    function doValidToken() {
+        if ($_SERVER["REQUEST_METHOD"] == "POST") {
+            if (!SC_Helper_Session_Ex::isValidToken(false)) {
+                SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
+            }
+        }
+    }
+
+    /**
      * パラメーター情報の初期化
      *
Index: /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Edit.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Edit.php	(revision 20285)
+++ /branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Edit.php	(revision 20328)
@@ -88,14 +88,4 @@
         // 認証可否の判定
         SC_Utils_Ex::sfIsSuccess(new SC_Session());
-
-        // 不正アクセスチェック 
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
-                exit;
-            }
-        }
-        // トランザクションID
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
 
         // パラメータ管理クラス
Index: /branches/version-2_5-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php	(revision 20260)
+++ /branches/version-2_5-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php	(revision 20328)
@@ -73,7 +73,4 @@
         SC_Utils::sfIsSuccess(new SC_Session());
 
-        // トランザクショントークンの取得
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
-
         // ページ送りの処理 $_REQUEST['pageno']が信頼しうる値かどうかチェックする。
         $this->tpl_pageno = $this->lfCheckPageNo($_REQUEST['pageno']);
@@ -112,7 +109,4 @@
      */
     function execNewMode() {
-        if (SC_Helper_Session_Ex::isValidToken() !== true) {
-            SC_Utils::sfDispError('');
-        }
 
         $this->objForm = $this->initNewMode();
@@ -132,6 +126,4 @@
             // エラー情報をセットする
             $this->arrErr = $arrErr;
-            // トランザクショントークンの取得
-            $this->transactionid = SC_Helper_Session_Ex::getToken();
             return;
         }
@@ -230,6 +222,4 @@
             // エラー情報をセットする
             $this->arrErr = $arrErr;
-            // トランザクショントークンの取得
-            $this->transactionid = SC_Helper_Session_Ex::getToken();
             return;
         }
Index: /branches/version-2_5-dev/data/class/pages/admin/LC_Page_Admin.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/LC_Page_Admin.php	(revision 20313)
+++ /branches/version-2_5-dev/data/class/pages/admin/LC_Page_Admin.php	(revision 20328)
@@ -67,4 +67,8 @@
         // $this->objPlagin = new SC_Helper_Plugin_Ex();
         // $this->objPlagin->preProcess($this);
+
+        // トランザクショントークンの検証と生成
+        $this->doValidToken(true);
+        $this->setTokenTo();
     }
 
Index: /branches/version-2_5-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_Settings.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_Settings.php	(revision 20041)
+++ /branches/version-2_5-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_Settings.php	(revision 20328)
@@ -79,7 +79,4 @@
         // ログインチェック
         SC_Utils::sfIsSuccess(new SC_Session());
-
-        // トランザクションIDの取得
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
 
         switch($this->getMode()) {
@@ -111,7 +108,4 @@
      */
     function execRegisterMode() {
-        if (SC_Helper_Session_Ex::isValidToken() !== true) {
-            SC_Utils_Ex::sfDispError('');
-        }
         // パラメータオブジェクトの初期化
         $this->initRegisterMode();
@@ -123,5 +117,4 @@
             $this->arrErr  = $arrErr;
             $this->arrForm = $this->objForm->getHashArray();
-            $this->transactionid = SC_Helper_Session_Ex::getToken();
             return;
         }
@@ -134,5 +127,4 @@
 
         $this->tpl_onload = "alert('登録しました。')";
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
     }
 
Index: /branches/version-2_5-dev/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php	(revision 20274)
+++ /branches/version-2_5-dev/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php	(revision 20328)
@@ -113,5 +113,5 @@
                 $js_fnOnLoad = $this->getFnOnload($this->arrProducts);
                 $this->tpl_javascript .= 'function fnOnLoad(){' . $js_fnOnLoad . '}';
-                $this->tpl_onload .= 'fnOnLoad(); ';
+                $this->tpl_onload .= 'fnOnLoad();';
                 // 規格1クラス名
                 $this->tpl_class_name1 = $objProduct->className1;
@@ -134,4 +134,17 @@
         $this->arrCatList = $objDb->sfGetCategoryList();
         $this->setTemplate($this->tpl_mainpage);
+    }
+
+    /**
+     * トランザクショントークンを unset しないようオーバーライド.
+     *
+     * @return void
+     */
+    function doValidToken() {
+        if ($_SERVER["REQUEST_METHOD"] == "POST") {
+            if (!SC_Helper_Session_Ex::isValidToken(false)) {
+                SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR);
+            }
+        }
     }
 
Index: /branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_DispError.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_DispError.php	(revision 20313)
+++ /branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_DispError.php	(revision 20328)
@@ -93,4 +93,11 @@
         parent::destroy();
     }
+
+    /**
+     * エラーページではトランザクショントークンの自動検証は行わない
+     */
+    function doValidToken() {
+        // queit.
+    }
 }
 ?>
Index: /branches/version-2_5-dev/data/class/pages/error/LC_Page_Error.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/error/LC_Page_Error.php	(revision 20313)
+++ /branches/version-2_5-dev/data/class/pages/error/LC_Page_Error.php	(revision 20328)
@@ -168,4 +168,11 @@
         parent::destroy();
     }
+
+    /**
+     * エラーページではトランザクショントークンの自動検証は行わない
+     */
+    function doValidToken() {
+        // queit.
+    }
 }
 ?>
Index: /branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php	(revision 20306)
+++ /branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php	(revision 20328)
@@ -86,11 +86,4 @@
      */
     function action() {
-        // 不正アクセスチェック
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
-            }
-        }
-        
         // パラメータ管理クラス
         $objFormParam = new SC_FormParam();
@@ -138,6 +131,4 @@
         }
 
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
-        
         // ポップアップ用テンプレート設定
         if($this->device_type == DEVICE_TYPE_PC) {
Index: /branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php	(revision 20306)
+++ /branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php	(revision 20328)
@@ -88,10 +88,4 @@
         if (!empty($this->arrForm["return"])) {
             $_POST["mode"] = "return";
-        }
-
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
-            }
         }
 
@@ -134,6 +128,4 @@
             break;
         }
-
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
     }
 
Index: /branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Complete.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Complete.php	(revision 20116)
+++ /branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Complete.php	(revision 20328)
@@ -63,9 +63,4 @@
      */
     function action() {
-        // transaction check
-        if (!SC_Helper_Session_Ex::isValidToken()) {
-            SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
-        }
-
         // カートが空かどうかを確認する。
         $objCartSess            = new SC_CartSession();
Index: /branches/version-2_5-dev/data/class/pages/frontparts/LC_Page_FrontParts_LoginCheck.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/frontparts/LC_Page_FrontParts_LoginCheck.php	(revision 20159)
+++ /branches/version-2_5-dev/data/class/pages/frontparts/LC_Page_FrontParts_LoginCheck.php	(revision 20328)
@@ -65,10 +65,4 @@
      */
     function action() {
-        // URLチェック
-        if ( !SC_Helper_Session_Ex::isValidToken() ) {
-            GC_Utils_Ex::gfPrintLog('invalid access :login_check.php $POST["url"]=' . $_POST['url']);
-            SC_Utils_Ex::sfDispSiteError(PAGE_ERROR);
-        }
-
         // 会員管理クラス
         $objCustomer = new SC_Customer();
Index: /branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Review.php
===================================================================
--- /branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Review.php	(revision 20306)
+++ /branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Review.php	(revision 20328)
@@ -81,10 +81,4 @@
         //$objView = new SC_SiteView_Ex();
         $objQuery = new SC_Query();
-
-        if ($_SERVER["REQUEST_METHOD"] == "POST") {
-            if (!SC_Helper_Session_Ex::isValidToken()) {
-                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
-            }
-        }
 
         //---- 登録用カラム配列
@@ -176,5 +170,4 @@
         }
 
-        $this->transactionid = SC_Helper_Session_Ex::getToken();
         $this->setTemplate($this->tpl_mainpage);
     }
