Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/asp.net-mvc-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ASP.NET MVC3-结合登录屏幕的Windows身份验证_Asp.net_Asp.net Mvc 3_Forms Authentication_Windows Authentication - Fatal编程技术网

ASP.NET MVC3-结合登录屏幕的Windows身份验证

ASP.NET MVC3-结合登录屏幕的Windows身份验证,asp.net,asp.net-mvc-3,forms-authentication,windows-authentication,Asp.net,Asp.net Mvc 3,Forms Authentication,Windows Authentication,我有一个MVC3移动内联网网站,目标是平板电脑设备(iPad)。 当我在iPad上打开网站时,我会看到一个弹出屏幕,询问登录凭据。我无法以任何方式缓存这些凭据,因此每次打开此应用程序时,都会提示用户输入其凭据 既然不可能在Windows域中包含iPad(据我所知),有没有办法使用Windows身份验证获得登录屏幕,使缓存凭据成为可能,并可能在较长时间内维护会话,以便用户在打开站点时不必重新输入凭据?这是绝对可能的,因为Exchange OWA就是这样做的。这些物品可能有用: 通过表单进行身份验证

我有一个MVC3移动内联网网站,目标是平板电脑设备(iPad)。 当我在iPad上打开网站时,我会看到一个弹出屏幕,询问登录凭据。我无法以任何方式缓存这些凭据,因此每次打开此应用程序时,都会提示用户输入其凭据


既然不可能在Windows域中包含iPad(据我所知),有没有办法使用Windows身份验证获得登录屏幕,使缓存凭据成为可能,并可能在较长时间内维护会话,以便用户在打开站点时不必重新输入凭据?

这是绝对可能的,因为Exchange OWA就是这样做的。这些物品可能有用:


通过表单进行身份验证后,您只需添加会话/cookie即可维护会话。

这是绝对可能的,因为Exchange OWA就是这么做的。这些物品可能有用:

一旦通过表单进行了身份验证,您就可以添加会话/cookie来维护会话