Forums: Open Discussion (Thread #22429)

画面遷移保障の設定について (2009-04-20 12:49 by Anonymous #43280)

画面遷移保障の機能のコメントを外すと例外が発生し、
ログイン画面が表示出来なくなってしまいました。
チュートリアルにあるサンプルソースは問題なく動作しており、
マニュアルに沿って作成しているつもりですが
何かコードや設定に漏れがあるとするとすればどの辺りになるのでしょうか。

原因がつかめず曖昧な質問になってしまいますが、注意点等がありましたらご教授ください。

発生する例外の内容は以下の内容です

初回リクエスト、またはセッションがタイムアウトしている状態で、トークンの確認を行うページにアクセスされました。
説明: 現在の Web 要求を実行中に、ハンドルされていない例外が発生しました。
エラーに関する詳細および例外の発生場所については、スタック トレースを参照してください。

例外の詳細: TERASOLUNA.Fw.Web.HttpModule.SessionTimeoutException:
初回リクエスト、またはセッションがタイムアウトしている状態で、
トークンの確認を行うページにアクセスされました

[SessionTimeoutException: 初回リクエスト、またはセッションがタイムアウトしている状態で、トークンの確認を行うページにアクセスされました。]
TERASOLUNA.Fw.Web.HttpModule.TokenProcessorImpl.context_PreRequestHandlerExecute(Object sender, EventArgs e) +1045
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Reply to #43280×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 画面遷移保障の設定について (2009-04-20 20:37 by sejimos #43293)

PageConfiguration.configの記述に原因があると考えられます。
ログオンページの設定でcheckToken="off"となっているかご確認いただけますか?

<page name="LogonForm" path="/Form/LogonForm.aspx" checkToken="off" />
Reply to #43280

Reply to #43293×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 画面遷移保障の設定について (2009-04-21 15:08 by Anonymous #43324)

PageConfiguration.configの記述では
checkToken="off" updateToken="on"と設定をしていますがやはり例外となっております。
スタートアップページをForm/LogonForm.aspxとしておりますがこの場合デバッグで起動させても
PageConfiguration.configの設定で起動するのでしょうか?


Reply to #43293

Reply to #43324×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 画面遷移保障の設定について (2009-04-21 20:25 by sejimos #43330)

>PageConfiguration.configの記述では
>checkToken="off" updateToken="on"と設定をしていますがやはり例外となっております。
大変失礼いたしました。
こちらで動作確認した際は、checkToken="on"とした場合に
全く同様の例外メッセージが表示されました。

>スタートアップページをForm/LogonForm.aspxとしておりますがこの場合デバッグで起動させても
>PageConfiguration.configの設定で起動するのでしょうか?
はい。スタートアップページとは関係なく、
PageConfiguration.configの設定で起動します。

チュートリアルはblankプロジェクト(terasoluna-sample-server-web-cs-blank)
を元に作りこまれていると思いますが、
完成版プロジェクト(terasoluna-sample-server-web-cs-complete)
は正常動作しますでしょうか?
Reply to #43324

Reply to #43330×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 画面遷移保障の設定について (2009-04-22 11:07 by Anonymous #43342)

terasoluna-sample-server-web-cs-completeのプロジェクトは正常に動作しております。
チュートリアルで動作と作成や操作方法を確認させて頂いておりましたので、
手順に拘らず完成版を元とするようにいたします。

ご調査、ご確認頂きありがとうございました。
Reply to #43330

Reply to #43342×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login