帮助与认证服务ASP.Net失去登录 [英] Help with Authentication ASP.Net Service loses Login

查看:179
本文介绍了帮助与认证服务ASP.Net失去登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用WCF身份验证服务在ASP.Net,但我发现,当你浏览所有的会话,用户登录数据都将丢失。

I have been making use of the WCF Authentication Service in ASP.Net but I have found that whenever you navigate all session, user, login data is lost.

我已经使用标准ASP.Net的登录页面和机制,一切测试工作正常...

I have tested using the Standard ASP.Net Login page and mechanism and everything works fine...

为什么没有从一个页面坚持到另一个?

Why is nothing persisting from one page to another?

推荐答案

我发现这个问题。我主持我在IIS中的网页,并导航到本地主机,但基于WCF身份验证cookie的正在上完全合格的外部站点名称创建(mycomputer.ourdomain.org)。

I found the problem. I was hosting my pages in IIS and was navigating to localhost but the cookie for WCF based authentication was being created on the fully qualified external site name (mycomputer.ourdomain.org).

这篇关于帮助与认证服务ASP.Net失去登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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