当我们从一台服务器移动到另一台服务器时,会话将存在 [英] will session exist when we move from one server to other server

查看:74
本文介绍了当我们从一台服务器移动到另一台服务器时,会话将存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
如果我们从一个应用程序(托管在server1上)移动到另一应用程序(托管在server2上),那么会话值是否存在?
在第一个应用程序中定义session ["loginid"]
n要使用应用程序2
有可能吗?

Thanks

hi
if we move from one application(hosted on server1) to other application (hosted on server2) then session value exist or not?
define session["loginid"] at first application
n want to use application 2
is it possible?

thanks

推荐答案

将外部存储用于会话状态.这是有关SQL Server会话状态的文档

http://support.microsoft.com/kb/317604 [ http://msdn.microsoft.com/en-us/library/ms178586.aspx [ ^ ]

ASP.NET中的会话管理选项 [
Use an external store for session state. Here is the documentation about SQL server session state

http://support.microsoft.com/kb/317604[^]

Summarized information is here

http://msdn.microsoft.com/en-us/library/ms178586.aspx[^]

Session management options in ASP.NET[^]


这篇关于当我们从一台服务器移动到另一台服务器时,会话将存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆