本文介绍了asp.net表单身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是ASP.NET的新手,我刚创建了一个需要用户登录的ASP.NET应用程序。我正在使用无cookie的基于表单的身份验证。这会将cookie存储在URL中,而不是将其存储在客户端计算机上。但无论如何,它都要求浏览器接受cookie。如果浏览器不接受cookie,它就不起作用。我想知道是否有一种方法我可以一起使用cookie并且仍然可以使用表单身份验证。而且我也不想在查询字符串中使用/存储用户信息。

I am new to ASP.NET and I just created an ASP.NET application that requires user login. I am using Form based authentication that is cookieless. This stores the cookie in the URL rather than storing it on the client machine. But in any way it requires that cookies be accepted by browsers. And it doesn''t work if browser doesn''t accept cookies. I was wondering if there is a way I could get away with cookies all together and still be able to use Form Authentication. And also I don''t want to use/store user information in query string either.

推荐答案



这篇关于asp.net表单身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 08:09
查看更多