开发者

Logout member on browser close

开发者 https://www.devze.com 2023-03-14 09:52 出处:网络
How can I configure my membership prov开发者_StackOverflowider to not use persistent cookies (i.e. to ensure that the member is logged out when the browser is close)?That\'s the default behavior of th

How can I configure my membership prov开发者_StackOverflowider to not use persistent cookies (i.e. to ensure that the member is logged out when the browser is close)?


That's the default behavior of the membership provider (no persistent cookie is created). Pass true as second argument to the SetAuthCookie method if you want persistent cookies to be used.

0

精彩评论

暂无评论...
验证码 换一张
取 消