本文介绍了FormsAuthenticationTicket构造函数第二个参数的重要性是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在以下构造函数中.
In the following constructor.
FormsAuthenticationTicket(String, Boolean, Int32)在这种情况下我们将重视此参数的第二个参数(isPersistent)有什么需要.
what is the need of the second parameter (isPersistent) in which situations we will give importance to this parameter.
推荐答案希望您已经用谷歌搜索了该查询,但是我认为您应该在MSDN上搜索信息. 此 MSDN文章 [ ^ ]将帮助您理解FormsAuthenticationTicket类. br/> 谢谢 -Amit Gajjar. Hi, Hope you have googled for this query, but i think you should search on MSDN for information. This MSDN Article[^] will help you to understand FormsAuthenticationTicket class. Thanks -Amit Gajjar.
请参阅此链接..... 实施安全的ASP.NET MVC应用程序 [ ^ ] Refer this link........ Implement secure ASP.NET MVC applications[^]
true if the ticket will be stored in a persistent cookie (saved across browser sessions); otherwise, false. If the ticket is stored in the URL, this value is ignored.
更多推荐
FormsAuthenticationTicket构造函数第二个参数的重要性是什么?
发布评论