本文介绍了如何在登录用户时在多个站点中保持会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有三个网站。对于exmaples www.host1,www.host3,www.host2要进入网站,您必须登录(输入用户名和密码)当我需要登录网站时。将输入没有登录提示音的其他站点。 (您的用户名和密码在每个用户的所有网站上都是相同的)请帮助解决此问题如何使用session []所有网站
I have three sites .for exmaples www.host1, www.host3, www.host2 To enter the site you must login(enter username and passsword) When I need to login to a site. Other sites with no login prompt tone will be entered. (Your username and password is the same on all site for each user) please help with this problem how use session[] all site
推荐答案使用Cookie。会议无济于事。如果您想分享会话,请参阅以下示例将对您有所帮助。 blogs.msdn/b/toddca/archive/2007/01/25/sharing-asp -net-session-state-across-applications.aspx [ ^ ] Use Cookies. Sessions will not help. If you want to share a session see the following example will help you. blogs.msdn/b/toddca/archive/2007/01/25/sharing-asp-net-session-state-across-applications.aspx[^]
更多推荐
如何在登录用户时在多个站点中保持会话
发布评论