「Asp-state」の版間の差分

imported>Administrator
編集の要約なし
編集の要約なし
 
(2人の利用者による、間の5版が非表示)
1行目: 1行目:
'''asp-state'''とは、[[xsp]]([[mod_mono]]含む)とは独立してセッション情報を保持したい場合に使うASP.NET Session State Serverである。
{{小文字}}
'''asp-state'''とは、[[xsp]][[mod_mono]]含む)とは独立してセッション情報を保持したい場合に使うASP.NET Session State Server。


2012年2月現在の最新バージョンは asp-state4 である。
2012年2月現在の最新バージョンは asp-state4


xsp(mod_mono)を単一サーバーで動かす場合にはxsp自身にもセッション保持機能を搭載しているのでasp-stateは使わなくても問題ないが、ロードバランサーなどを噛まして複数台のWebサーバーで運用する場合にはセッションの一極集中管理が必要になるので必須である。
xsp(mod_mono)を単一サーバーで動かす場合にはxsp自身にもセッション保持機能を搭載しているのでasp-stateは使わなくても問題ないが、ロードバランサーなどを噛まして複数台のWebサーバーで運用する場合にはセッションの一極集中管理が必要になるので必須っぽい。


また、単一サーバーでの運用時においてもWebサーバーの再起動でセッション情報が消えてしまうと困る場合には別途立ち上げておくとよい。
また、単一サーバーでの運用時においてもWebサーバーの再起動でセッション情報が消えてしまうと困る場合には別途立ち上げておくとよいらしい。


== asp-stateの設定 ==
== asp-stateの設定 ==
25行目: 26行目:
== 起動 ==
== 起動 ==
FreeBSD
FreeBSD
$ /usr/local/bin/asp-state4
<source lang="bash">
$ /usr/local/bin/asp-state4
</source>
CentOS
CentOS
$ /opt/novell/mono/bin/asp-state4
<source lang="bash">
$ /opt/novell/mono/bin/asp-state4
</source>


== 関連項目 ==
== 関連項目 ==
* [[dbsessmgr]]
* [[mod_mono]]
* [[xsp]]
* [[xsp]]
* [[mod_mono]]
* [[ASP.NET MVC]]


== 外部リンク ==
== 外部リンク ==
* [https://github.com/mono/xsp/blob/master/tools/asp_state/]
* [https://github.com/mono/xsp/blob/master/tools/asp_state/ asp-stateのソースコード]
* [https://github.com/mono/mono/blob/master/mcs/class/System.Web/System.Web.SessionState_2.0/]
* [https://github.com/mono/mono/blob/master/mcs/class/System.Web/System.Web.SessionState_2.0/RemoteStateServer.cs System.Web.SessionState.RemoteStateServerのソースコード]


{{stub}}
{{stub}}