跨子域共享会话。 [英] Share Session across the sub domain.

查看:108
本文介绍了跨子域共享会话。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友......



我在同一台服务器上运行两个web应用程序。

i想要使用一个应用程序的会话另一个应用程序(在localhost上)。

我能做到吗???



请给我一些有用的链接来学习分享会话。



提前致谢。

Hello friends...

I have two web application running on same server.
i want to use session of one application into another application(on localhost).
can i do that???

please give me helpful links to learn Sharing of session.

Thanks in advance.

推荐答案

您可以通过输入激活子域名asp.net[ ^ ]。

基本上你需要设置域名到web.config中的HttpCookie。
You could have found helpful links yourself by just typing 'session subdomain asp.net' on Google[^].
Basically you will need to set domain to your HttpCookie in web.config.


这篇关于跨子域共享会话。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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