FormsAuthenticationTicket构造函数第二个参数的重要性是什么?

编程入门 行业动态 更新时间:2024-10-28 07:32:28
本文介绍了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构造函数第二个参数的重要性是什么?

本文发布于:2023-10-24 02:49:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1522723.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:第二个   函数   重要性   参数   FormsAuthenticationTicket

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!